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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 98.48 kB / 17.06 MB, free: 6.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001209, allocations: 194.9 kB / 17.99 MB, free: 5.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009852/0.0009852, allocations: 51.92 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4417/0.4427, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.005584/0.4484, allocations: 3.139 MB / 403.9 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.4503, allocations: 0.804 MB / 404.7 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002237/0.4505, allocations: 4 kB / 404.7 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.4508, allocations: 59.38 kB / 404.7 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002416/0.4511, allocations: 114.9 kB / 404.8 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005204/0.4516, allocations: 151.7 kB / 405 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006111/0.4522, allocations: 0.5541 MB / 405.5 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003906/0.4526, allocations: 160.4 kB / 405.7 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003304/0.453, allocations: 223.3 kB / 405.9 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003277/0.4533, allocations: 247 kB / 406.2 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.536e-05/0.4534, allocations: 52 kB / 406.2 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.4536, allocations: 60 kB / 406.3 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.4537, allocations: 111.6 kB / 406.4 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002566/0.4539, allocations: 242.8 kB / 406.6 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006939/0.4546, allocations: 0.554 MB / 407.2 MB, free: 2.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.4547, allocations: 0 / 407.2 MB, free: 2.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4547, allocations: 0 / 407.2 MB, free: 2.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.4547, allocations: 0 / 407.2 MB, free: 2.41 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.001799/0.4565, allocations: 0.7954 MB / 408 MB, free: 1.562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.117e-05/0.4566, allocations: 8.031 kB / 408 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.4567, allocations: 48.38 kB / 408 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006495/0.4574, allocations: 310.5 kB / 408.3 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/0.4574, allocations: 25.38 kB / 408.3 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-05/0.4575, allocations: 36.38 kB / 408.4 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.4587, allocations: 0.5125 MB / 408.9 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.4587, allocations: 0 / 408.9 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.722e-05/0.4588, allocations: 16 kB / 408.9 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.4588, allocations: 8 kB / 408.9 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.4601, allocations: 0.4996 MB / 409.4 MB, free: 48 kB / 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.003001/0.4631, allocations: 1.659 MB / 411.1 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.4642, allocations: 435.6 kB / 411.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005046/0.4647, allocations: 239.2 kB / 411.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.377e-05/0.4648, allocations: 16.31 kB / 411.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.4649, allocations: 34.89 kB / 411.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.903e-06/0.4649, allocations: 0 / 411.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.00473/0.4696, allocations: 1.361 MB / 413.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.523e-05/0.4697, allocations: 166.2 kB / 413.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.47, allocations: 267 kB / 413.6 MB, free: 11.63 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.4701, allocations: 37.7 kB / 413.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.4702, allocations: 212.3 kB / 413.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.4703, allocations: 142 kB / 414 MB, free: 11.24 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.4705, allocations: 74.12 kB / 414 MB, free: 11.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.4706, allocations: 346.7 kB / 414.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004704/0.4711, allocations: 184.8 kB / 414.5 MB, free: 10.63 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005568/0.4717, allocations: 278.5 kB / 414.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009489/0.4726, allocations: 426.5 kB / 415.2 MB, free: 9.879 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.4727, allocations: 4 kB / 415.2 MB, free: 9.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001739/0.4744, allocations: 0.678 MB / 415.9 MB, free: 9.184 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.4744, allocations: 7.984 kB / 415.9 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.4745, allocations: 8.062 kB / 415.9 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/0.4758, allocations: 317.4 kB / 416.2 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/0.4761, allocations: 79.81 kB / 416.3 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/0.4775, allocations: 1.35 MB / 417.7 MB, free: 7.371 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004174/0.4779, allocations: 71.75 kB / 417.7 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/0.4779, allocations: 19.98 kB / 417.8 MB, free: 7.281 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.0002052/0.4781, allocations: 157.7 kB / 417.9 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.617e-05/0.4782, allocations: 39.53 kB / 418 MB, free: 7.078 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002089/0.4803, allocations: 0.7238 MB / 418.7 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.4803, allocations: 4 kB / 418.7 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4803, allocations: 0 / 418.7 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.38e-05/0.4804, allocations: 7.984 kB / 418.7 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006607/0.481, allocations: 468.9 kB / 419.1 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.4811, allocations: 192 / 419.1 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002918/0.4814, allocations: 59.89 kB / 419.2 MB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001208/0.4826, allocations: 329.3 kB / 419.5 MB, free: 5.434 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/0.4826, allocations: 8 kB / 419.5 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001335/0.484, allocations: 1.362 MB / 420.9 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.484, allocations: 0 / 420.9 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/0.4865, allocations: 1.02 MB / 421.9 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.4867, allocations: 112.6 kB / 422 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.261e-05/0.4867, allocations: 8 kB / 422 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003572/0.4871, allocations: 47.94 kB / 422.1 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.56e-05/0.4872, allocations: 15.97 kB / 422.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.4872, allocations: 16 kB / 422.1 MB, free: 2.754 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000316/0.4876, allocations: 198 kB / 422.3 MB, free: 2.562 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4876, allocations: 0 / 422.3 MB, free: 2.562 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004794/0.488, allocations: 111.8 kB / 422.4 MB, free: 2.453 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.0002231/0.4883, allocations: 115.9 kB / 422.5 MB, free: 2.328 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001361/0.4896, allocations: 476 kB / 423 MB, free: 1.863 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4897, allocations: 448 / 423 MB, free: 1.863 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006027/0.4903, allocations: 267.5 kB / 423.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.4907, allocations: 40.55 kB / 423.3 MB, free: 1.562 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.4928, allocations: 0.8585 MB / 424.2 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005931/0.4934, allocations: 0.7995 MB / 425 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002008/0.4937, allocations: 34.95 kB / 425 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.389e-05/0.4938, allocations: 27.44 kB / 425 MB, free: 15.79 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4938, allocations: 0 / 425 MB, free: 15.79 MB / 350.1 MB Notification: Performance of Templates: time 0.01414/0.5079, allocations: 5.969 MB / 431 MB, free: 9.844 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (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) 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) Reference file matches