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.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 3.2.3+maint.om/package.mo", uses=false) 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.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_3.2.3_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_3.2.3_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.001471/0.001471, allocations: 107.3 kB / 18.4 MB, free: 4.566 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.001329/0.001329, allocations: 187.3 kB / 19.33 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 47.94 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1049, allocations: 46.61 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004685/0.1096, allocations: 3.1 MB / 378.9 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.1114, allocations: 0.8275 MB / 379.8 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.1115, allocations: 11.94 kB / 379.8 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001766/0.1117, allocations: 55.38 kB / 379.8 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.1119, allocations: 111 kB / 379.9 MB, free: 464 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.1123, allocations: 147.7 kB / 380.1 MB, free: 316 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2241/0.3364, allocations: 0.531 MB / 380.6 MB, free: 9.828 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004796/0.3369, allocations: 163.3 kB / 380.8 MB, free: 9.816 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004287/0.3374, allocations: 219.3 kB / 381 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003142/0.3377, allocations: 256 kB / 381.2 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.311e-05/0.3378, allocations: 51.25 kB / 381.3 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.338, allocations: 56.69 kB / 381.3 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.3381, allocations: 112.7 kB / 381.4 MB, free: 9.742 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002205/0.3383, allocations: 237.5 kB / 381.7 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007515/0.3391, allocations: 0.549 MB / 382.2 MB, free: 9.617 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3391, allocations: 0 / 382.2 MB, free: 9.617 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.3391, allocations: 0 / 382.2 MB, free: 9.617 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.3391, allocations: 0.9062 kB / 382.2 MB, free: 9.617 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.001672/0.3408, allocations: 0.7866 MB / 383 MB, free: 9.129 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.3408, allocations: 9.312 kB / 383 MB, free: 9.129 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.341, allocations: 44.77 kB / 383.1 MB, free: 9.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004719/0.3415, allocations: 313.6 kB / 383.4 MB, free: 8.871 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.53e-05/0.3415, allocations: 28.38 kB / 383.4 MB, free: 8.871 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-05/0.3416, allocations: 34.81 kB / 383.4 MB, free: 8.871 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.3429, allocations: 0.4989 MB / 383.9 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.3429, allocations: 5.375 kB / 383.9 MB, free: 8.773 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.962e-05/0.343, allocations: 18.72 kB / 384 MB, free: 8.773 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.343, allocations: 13.42 kB / 384 MB, free: 8.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.3445, allocations: 0.4985 MB / 384.5 MB, free: 8.766 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.002868/0.3473, allocations: 1.664 MB / 386.1 MB, free: 7.809 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.3485, allocations: 427 kB / 386.5 MB, free: 7.668 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005243/0.3491, allocations: 241.1 kB / 386.8 MB, free: 7.582 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.621e-05/0.3491, allocations: 11.56 kB / 386.8 MB, free: 7.582 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.3492, allocations: 37.83 kB / 386.8 MB, free: 7.539 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 4.429e-06/0.3492, allocations: 5.828 kB / 386.8 MB, free: 7.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.00534/0.3545, allocations: 1.361 MB / 388.2 MB, free: 7.062 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/0.3546, allocations: 162.7 kB / 388.4 MB, free: 6.875 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005011/0.3551, allocations: 269.4 kB / 388.6 MB, free: 6.719 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.258e-05/0.3552, allocations: 40.69 kB / 388.7 MB, free: 6.676 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.3554, allocations: 203.5 kB / 388.9 MB, free: 6.508 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.771e-05/0.3555, allocations: 133.3 kB / 389 MB, free: 6.406 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.3556, allocations: 77.44 kB / 389.1 MB, free: 6.359 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.123e-05/0.3557, allocations: 344.7 kB / 389.4 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005697/0.3563, allocations: 182.7 kB / 389.6 MB, free: 5.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006491/0.3569, allocations: 280.9 kB / 389.9 MB, free: 5.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.3582, allocations: 427.2 kB / 390.3 MB, free: 5.629 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.3582, allocations: 5.094 kB / 390.3 MB, free: 5.625 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002116/0.3603, allocations: 0.6751 MB / 391 MB, free: 5.395 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/0.3603, allocations: 14.28 kB / 391 MB, free: 5.387 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.3604, allocations: 2.156 kB / 391 MB, free: 5.387 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001516/0.3619, allocations: 312.1 kB / 391.3 MB, free: 5.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.3623, allocations: 82.91 kB / 391.4 MB, free: 5.316 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.3636, allocations: 1.346 MB / 392.7 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005031/0.3641, allocations: 81.3 kB / 392.8 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/0.3642, allocations: 16.91 kB / 392.8 MB, free: 4.113 MB / 318.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.000229/0.3644, allocations: 151.7 kB / 392.9 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.862e-05/0.3645, allocations: 36.73 kB / 393 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002336/0.3668, allocations: 0.7458 MB / 393.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.3669, allocations: 2.203 kB / 393.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3669, allocations: 0 / 393.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.472e-05/0.367, allocations: 107.5 kB / 393.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.942e-05/0.367, allocations: 8.172 kB / 393.8 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.3674, allocations: 50.91 kB / 393.9 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.3675, allocations: 24.09 kB / 393.9 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002674/0.3702, allocations: 0.7907 MB / 394.7 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00174/0.372, allocations: 0.8506 MB / 395.6 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005066/0.3725, allocations: 192.7 kB / 395.7 MB, free: 2.801 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002554/0.3728, allocations: 192.2 kB / 395.9 MB, free: 2.691 MB / 318.1 MB Notification: Performance of Backend: time 3.01e-07/0.3728, allocations: 0 / 395.9 MB, free: 2.691 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001414/0.3742, allocations: 393.9 kB / 396.3 MB, free: 2.535 MB / 318.1 MB Notification: Performance of SimCode: time 0.001637/0.3758, allocations: 1.342 MB / 397.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of Templates: time 0.01276/0.3886, allocations: 6.249 MB / 403.9 MB, free: 15.16 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (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) 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) Reference file matches