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.001334/0.001334, allocations: 109.4 kB / 17.73 MB, free: 5.363 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.00126/0.001261, allocations: 188.1 kB / 18.66 MB, free: 4.441 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.502/1.502, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001091/0.001091, allocations: 51.92 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.103, allocations: 46.61 MB / 375.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004299/0.1074, allocations: 3.093 MB / 378.2 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.1088, allocations: 0.8314 MB / 379.1 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.1089, allocations: 8 kB / 379.1 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001995/0.1092, allocations: 55.38 kB / 379.1 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002056/0.1094, allocations: 118.9 kB / 379.2 MB, free: 460 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003942/0.1098, allocations: 147.7 kB / 379.4 MB, free: 312 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2401/0.3499, allocations: 0.5291 MB / 379.9 MB, free: 9.914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000427/0.3503, allocations: 164.3 kB / 380.1 MB, free: 9.902 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004405/0.3508, allocations: 219.6 kB / 380.3 MB, free: 9.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003035/0.3511, allocations: 256.6 kB / 380.5 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.773e-05/0.3512, allocations: 51.5 kB / 380.6 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.3513, allocations: 55.12 kB / 380.7 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.387e-05/0.3514, allocations: 113.4 kB / 380.8 MB, free: 9.828 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.3517, allocations: 237.5 kB / 381 MB, free: 9.766 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006658/0.3523, allocations: 0.5445 MB / 381.5 MB, free: 9.703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3523, allocations: 2.125 kB / 381.5 MB, free: 9.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3524, allocations: 0 / 381.5 MB, free: 9.703 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.3524, allocations: 0 / 381.5 MB, free: 9.703 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.001709/0.3541, allocations: 0.7881 MB / 382.3 MB, free: 9.215 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.3541, allocations: 8.938 kB / 382.3 MB, free: 9.215 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.3543, allocations: 47.83 kB / 382.4 MB, free: 9.195 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005192/0.3548, allocations: 312.4 kB / 382.7 MB, free: 8.957 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.866e-05/0.3549, allocations: 27.72 kB / 382.7 MB, free: 8.957 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.885e-05/0.355, allocations: 37.38 kB / 382.8 MB, free: 8.957 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.3563, allocations: 0.4999 MB / 383.3 MB, free: 8.863 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.3563, allocations: 5.375 kB / 383.3 MB, free: 8.859 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.648e-05/0.3564, allocations: 15.11 kB / 383.3 MB, free: 8.859 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.3564, allocations: 10.75 kB / 383.3 MB, free: 8.859 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.3578, allocations: 0.5027 MB / 383.8 MB, free: 8.852 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.002686/0.3605, allocations: 1.667 MB / 385.5 MB, free: 7.883 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.3617, allocations: 425.2 kB / 385.9 MB, free: 7.742 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005343/0.3622, allocations: 241 kB / 386.1 MB, free: 7.656 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.733e-05/0.3623, allocations: 11.33 kB / 386.1 MB, free: 7.656 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.3623, allocations: 40.39 kB / 386.2 MB, free: 7.613 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 2.926e-06/0.3623, allocations: 5.438 kB / 386.2 MB, free: 7.609 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.00518/0.3675, allocations: 1.363 MB / 387.5 MB, free: 7.133 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.3676, allocations: 158.1 kB / 387.7 MB, free: 6.945 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003388/0.3679, allocations: 270.4 kB / 387.9 MB, free: 6.789 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.368, allocations: 32.77 kB / 388 MB, free: 6.754 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.3681, allocations: 207.4 kB / 388.2 MB, free: 6.582 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.048e-05/0.3682, allocations: 140.6 kB / 388.3 MB, free: 6.477 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.3683, allocations: 79.19 kB / 388.4 MB, free: 6.43 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.461e-05/0.3684, allocations: 339.8 kB / 388.7 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005393/0.369, allocations: 188 kB / 388.9 MB, free: 6.051 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006132/0.3696, allocations: 281.4 kB / 389.2 MB, free: 5.895 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009932/0.3706, allocations: 424.4 kB / 389.6 MB, free: 5.703 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3706, allocations: 1.406 kB / 389.6 MB, free: 5.703 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001925/0.3725, allocations: 0.6781 MB / 390.3 MB, free: 5.469 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.3726, allocations: 14 kB / 390.3 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.3726, allocations: 1.188 kB / 390.3 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001302/0.3739, allocations: 318.5 kB / 390.6 MB, free: 5.391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003745/0.3743, allocations: 78.09 kB / 390.7 MB, free: 5.391 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/0.3754, allocations: 1.35 MB / 392 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004934/0.3759, allocations: 77.66 kB / 392.1 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/0.376, allocations: 16.45 kB / 392.1 MB, free: 4.188 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.0001931/0.3762, allocations: 155.5 kB / 392.3 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.896e-05/0.3763, allocations: 35.81 kB / 392.3 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002264/0.3785, allocations: 0.7365 MB / 393 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.3786, allocations: 5.5 kB / 393 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3786, allocations: 0 / 393 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.3786, allocations: 5.516 kB / 393.1 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007444/0.3793, allocations: 465.2 kB / 393.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3793, allocations: 0 / 393.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003211/0.3797, allocations: 59.11 kB / 393.6 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001228/0.3809, allocations: 324.4 kB / 393.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/0.381, allocations: 8.656 kB / 393.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/0.382, allocations: 1.358 MB / 395.2 MB, free: 2.203 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.382, allocations: 0 / 395.2 MB, free: 2.203 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002948/0.385, allocations: 1.018 MB / 396.3 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.461e-05/0.3851, allocations: 112.9 kB / 396.4 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/0.3852, allocations: 10.72 kB / 396.4 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.3855, allocations: 40.61 kB / 396.4 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.3856, allocations: 23.62 kB / 396.5 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-05/0.3857, allocations: 13.27 kB / 396.5 MB, free: 1.648 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002856/0.386, allocations: 193.5 kB / 396.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.386, allocations: 3.938 kB / 396.7 MB, free: 1.531 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004793/0.3865, allocations: 114 kB / 396.8 MB, free: 1.504 MB / 318.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.0002153/0.3867, allocations: 115.8 kB / 396.9 MB, free: 1.402 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.3881, allocations: 474.2 kB / 397.3 MB, free: 1.281 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3881, allocations: 448 / 397.3 MB, free: 1.281 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006117/0.3888, allocations: 253.3 kB / 397.6 MB, free: 1.215 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.3892, allocations: 47.88 kB / 397.6 MB, free: 1.191 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.3909, allocations: 0.8665 MB / 398.5 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.3912, allocations: 0.793 MB / 399.3 MB, free: 12 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001623/0.3914, allocations: 34.12 kB / 399.3 MB, free: 4 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.541e-05/0.3914, allocations: 24.11 kB / 399.4 MB, free: 0 / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3914, allocations: 0 / 399.4 MB, free: 0 / 318.1 MB Notification: Performance of Templates: time 0.01318/0.4046, allocations: 5.975 MB / 405.3 MB, free: 13.54 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins/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