Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002358/0.002358, allocations: 120.2 kB / 21.94 MB, free: 28 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002693/0.002693, allocations: 208.8 kB / 25.24 MB, free: 3.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 207.6 MB / 236 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 59.92 kB / 348.5 MB, free: 9.523 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3398, allocations: 49.16 MB / 397.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.0046/0.3444, allocations: 3.117 MB / 400.7 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.3463, allocations: 0.837 MB / 401.6 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.3465, allocations: 5.5 kB / 401.6 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002288/0.3467, allocations: 62.06 kB / 401.6 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.3469, allocations: 119.6 kB / 401.8 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004622/0.3474, allocations: 144.7 kB / 401.9 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006083/0.348, allocations: 0.5303 MB / 402.4 MB, free: 6.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002854/0.3483, allocations: 124.3 kB / 402.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003239/0.3486, allocations: 223.3 kB / 402.8 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003582/0.349, allocations: 252.5 kB / 403 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.398e-05/0.3491, allocations: 50.94 kB / 403.1 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.3492, allocations: 62.06 kB / 403.1 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.3493, allocations: 113.6 kB / 403.2 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002234/0.3495, allocations: 237 kB / 403.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007241/0.3503, allocations: 0.5567 MB / 404 MB, free: 5.473 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3503, allocations: 0 / 404 MB, free: 5.473 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3503, allocations: 0 / 404 MB, free: 5.473 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.3503, allocations: 0 / 404 MB, free: 5.473 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001788/0.3521, allocations: 0.7254 MB / 404.7 MB, free: 4.992 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.3521, allocations: 13.61 kB / 404.8 MB, free: 4.988 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.3523, allocations: 53.59 kB / 404.8 MB, free: 4.961 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004818/0.3527, allocations: 247.4 kB / 405.1 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/0.3528, allocations: 27.44 kB / 405.1 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.643e-05/0.3528, allocations: 37.19 kB / 405.1 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.3541, allocations: 0.5084 MB / 405.6 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.3541, allocations: 1.062 kB / 405.6 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.759e-05/0.3542, allocations: 20.23 kB / 405.6 MB, free: 4.484 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.3542, allocations: 9.062 kB / 405.7 MB, free: 4.484 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.3557, allocations: 0.4982 MB / 406.2 MB, free: 4.352 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/0.3584, allocations: 1.624 MB / 407.8 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.3596, allocations: 408 kB / 408.2 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005467/0.3602, allocations: 219.6 kB / 408.4 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.785e-05/0.3602, allocations: 11.06 kB / 408.4 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.3602, allocations: 43.52 kB / 408.4 MB, free: 2.926 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 2.194e-06/0.3602, allocations: 0 / 408.4 MB, free: 2.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.005042/0.3653, allocations: 1.212 MB / 409.7 MB, free: 2.543 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.359e-05/0.3654, allocations: 158.1 kB / 409.8 MB, free: 2.355 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/0.3657, allocations: 268.6 kB / 410.1 MB, free: 2.168 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.3657, allocations: 35.11 kB / 410.1 MB, free: 2.129 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.3659, allocations: 212.4 kB / 410.3 MB, free: 1.938 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.69e-05/0.3659, allocations: 138.8 kB / 410.4 MB, free: 1.816 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.3661, allocations: 76.69 kB / 410.5 MB, free: 1.766 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.477e-05/0.3662, allocations: 340.8 kB / 410.9 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00047/0.3666, allocations: 186.2 kB / 411 MB, free: 1.344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005865/0.3672, allocations: 283.8 kB / 411.3 MB, free: 1.137 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009688/0.3682, allocations: 422.7 kB / 411.7 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3682, allocations: 0 / 411.7 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001777/0.37, allocations: 0.6784 MB / 412.4 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.37, allocations: 5.531 kB / 412.4 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.37, allocations: 2.312 kB / 412.4 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001355/0.3714, allocations: 318.4 kB / 412.7 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.3717, allocations: 81 kB / 412.8 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/0.3732, allocations: 1.35 MB / 414.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/0.3737, allocations: 76.08 kB / 414.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.959e-05/0.3737, allocations: 15.75 kB / 414.2 MB, free: 15.09 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,9), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002756/0.374, allocations: 160.5 kB / 414.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.231e-05/0.3741, allocations: 35.72 kB / 414.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/0.3763, allocations: 0.7282 MB / 415.2 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.3764, allocations: 4.625 kB / 415.2 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3764, allocations: 0 / 415.2 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.3764, allocations: 1.125 kB / 415.2 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007462/0.3771, allocations: 441.5 kB / 415.6 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.3771, allocations: 5.016 kB / 415.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003035/0.3774, allocations: 58.73 kB / 415.7 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001229/0.3787, allocations: 319.3 kB / 416 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.3787, allocations: 9.375 kB / 416 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/0.3802, allocations: 1.364 MB / 417.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3802, allocations: 0 / 417.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00278/0.383, allocations: 1.011 MB / 418.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.184e-05/0.3831, allocations: 30.56 kB / 418.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.189e-05/0.3832, allocations: 22.14 kB / 418.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003816/0.3836, allocations: 38.61 kB / 418.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.921e-05/0.3837, allocations: 28.8 kB / 418.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.094e-05/0.3837, allocations: 15.48 kB / 418.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003073/0.384, allocations: 187.9 kB / 418.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.384, allocations: 1.281 kB / 418.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005165/0.3845, allocations: 112.4 kB / 418.8 MB, free: 11.93 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,10), (1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002261/0.3848, allocations: 123.3 kB / 418.9 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001419/0.3862, allocations: 447.9 kB / 419.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.587e-05/0.3862, allocations: 5.594 kB / 419.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006417/0.3868, allocations: 240.5 kB / 419.6 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.3873, allocations: 50.56 kB / 419.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.3895, allocations: 0.9041 MB / 420.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006011/0.3901, allocations: 0.7895 MB / 421.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.3902, allocations: 35.88 kB / 421.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3902, allocations: 1.156 kB / 421.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of Templates: time 0.01468/0.4049, allocations: 7.107 MB / 428.5 MB, free: 3.852 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.210830251919106]