Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008382/0.0008382, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004032/0.004032, allocations: 145.1 kB / 24.68 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8094/0.8094, allocations: 173.4 MB / 201.2 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.59e-05/1.713e-05, allocations: 6.219 kB / 319.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.00247/0.002487, allocations: 2.894 MB / 322.6 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.00363, allocations: 0.7688 MB / 323.4 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.003756, allocations: 4 kB / 323.4 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.003898, allocations: 59.38 kB / 323.4 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.004022, allocations: 130.7 kB / 323.5 MB, free: 1.957 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.004321, allocations: 159.6 kB / 323.7 MB, free: 1.801 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003275/0.004649, allocations: 0.5694 MB / 324.3 MB, free: 1.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.004835, allocations: 116.8 kB / 324.4 MB, free: 1.109 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002402/0.005075, allocations: 311.4 kB / 324.7 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.005241, allocations: 191.5 kB / 324.9 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.739e-05/0.005288, allocations: 52 kB / 324.9 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.329e-05/0.005361, allocations: 52 kB / 325 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.864e-05/0.00542, allocations: 123.5 kB / 325.1 MB, free: 404 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.467e-05/0.005515, allocations: 167.6 kB / 325.3 MB, free: 236 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004007/0.005915, allocations: 0.5881 MB / 325.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.005917, allocations: 0 / 325.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005918, allocations: 0 / 325.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.005922, allocations: 4 kB / 325.9 MB, free: 15.64 MB / 298.7 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.0008758/0.006798, allocations: 0.7228 MB / 326.6 MB, free: 14.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.006828, allocations: 16.86 kB / 326.6 MB, free: 14.87 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.556e-05/0.006893, allocations: 52.66 kB / 326.6 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.007162, allocations: 256.5 kB / 326.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.007183, allocations: 33.36 kB / 326.9 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.552e-05/0.007229, allocations: 36.38 kB / 327 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006398/0.007869, allocations: 0.6517 MB / 327.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.007881, allocations: 192 / 327.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.00791, allocations: 16.38 kB / 327.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.007918, allocations: 15.92 kB / 327.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000686/0.008604, allocations: 0.4957 MB / 328.1 MB, free: 13.24 MB / 298.7 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.001348/0.009952, allocations: 1.174 MB / 329.3 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006192/0.01057, allocations: 403.6 kB / 329.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/0.01085, allocations: 224.6 kB / 329.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.01087, allocations: 4.328 kB / 329.9 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.01089, allocations: 38.89 kB / 330 MB, free: 11.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 1.393e-06/0.01089, allocations: 0 / 330 MB, free: 11.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.002563/0.01345, allocations: 1.214 MB / 331.2 MB, free: 10.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.01351, allocations: 162.2 kB / 331.3 MB, free: 9.902 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.01369, allocations: 264.2 kB / 331.6 MB, free: 9.637 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.01372, allocations: 33.7 kB / 331.6 MB, free: 9.598 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.462e-05/0.01381, allocations: 216.7 kB / 331.9 MB, free: 9.383 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.718e-05/0.01388, allocations: 142.7 kB / 332 MB, free: 9.242 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-05/0.01396, allocations: 78.19 kB / 332.1 MB, free: 9.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.907e-05/0.01404, allocations: 346.8 kB / 332.4 MB, free: 8.812 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/0.01431, allocations: 180.9 kB / 332.6 MB, free: 8.637 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003396/0.01465, allocations: 389.9 kB / 333 MB, free: 8.195 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005314/0.01518, allocations: 430.5 kB / 333.4 MB, free: 7.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01518, allocations: 3.938 kB / 333.4 MB, free: 7.746 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009387/0.01612, allocations: 0.6704 MB / 334.1 MB, free: 7.062 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.01614, allocations: 15.92 kB / 334.1 MB, free: 7.047 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01614, allocations: 0 / 334.1 MB, free: 7.047 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006798/0.01682, allocations: 317.5 kB / 334.4 MB, free: 6.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.01699, allocations: 83.81 kB / 334.5 MB, free: 6.648 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007784/0.01776, allocations: 1.339 MB / 335.8 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.01796, allocations: 75.8 kB / 335.9 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.01798, allocations: 23.92 kB / 335.9 MB, free: 5.16 MB / 298.7 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.0001215/0.0181, allocations: 153.8 kB / 336.1 MB, free: 5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.01814, allocations: 35.81 kB / 336.1 MB, free: 4.965 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.01922, allocations: 0.7197 MB / 336.8 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.01923, allocations: 8 kB / 336.8 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.01923, allocations: 7.938 kB / 336.8 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.01924, allocations: 3.984 kB / 336.8 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005672/0.01981, allocations: 324.8 kB / 337.1 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01981, allocations: 0 / 337.1 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.01995, allocations: 63.94 kB / 337.2 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005681/0.02052, allocations: 321.4 kB / 337.5 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.02054, allocations: 8 kB / 337.5 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007119/0.02125, allocations: 1.359 MB / 338.9 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.02125, allocations: 0 / 338.9 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.02258, allocations: 1.023 MB / 339.9 MB, free: 1.016 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.02261, allocations: 35.67 kB / 339.9 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.02265, allocations: 12 kB / 340 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.02281, allocations: 43.94 kB / 340 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.02286, allocations: 27.89 kB / 340 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.02288, allocations: 12 kB / 340 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001253/0.023, allocations: 191.1 kB / 340.2 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.023, allocations: 4 kB / 340.2 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002439/0.02325, allocations: 111.8 kB / 340.3 MB, free: 0.5859 MB / 298.7 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.0001244/0.02337, allocations: 107.2 kB / 340.4 MB, free: 480 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006947/0.02407, allocations: 452.1 kB / 340.9 MB, free: 28 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.02407, allocations: 4 kB / 340.9 MB, free: 24 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003153/0.02439, allocations: 251.9 kB / 341.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.02464, allocations: 40.64 kB / 341.2 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000998/0.02564, allocations: 0.8408 MB / 342 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.02575, allocations: 195 kB / 342.2 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.02581, allocations: 28.48 kB / 342.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02581, allocations: 0 / 342.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of Templates: time 0.005758/0.03156, allocations: 7.279 MB / 349.5 MB, free: 7.34 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.136587565764785]