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.001052/0.001052, allocations: 101.1 kB / 16.96 MB, free: 6.098 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.001271/0.001271, allocations: 175 kB / 17.84 MB, free: 5.727 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.72/1.72, allocations: 205.4 MB / 224 MB, free: 13.06 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.0005503/0.0005508, allocations: 12 kB / 280.8 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1204, allocations: 47.59 MB / 328.4 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003626/0.1241, allocations: 2.63 MB / 331 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.1259, allocations: 0.7891 MB / 331.8 MB, free: 0.625 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003541/0.1263, allocations: 8 kB / 331.8 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.1265, allocations: 39.62 kB / 331.8 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002985/0.1268, allocations: 95.22 kB / 331.9 MB, free: 496 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.1273, allocations: 111.8 kB / 332 MB, free: 384 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006679/0.128, allocations: 487.6 kB / 332.5 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002994/0.1283, allocations: 131.6 kB / 332.6 MB, free: 15.76 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003774/0.1287, allocations: 179.4 kB / 332.8 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003634/0.1291, allocations: 219.1 kB / 333 MB, free: 15.37 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.163e-05/0.1292, allocations: 24 kB / 333 MB, free: 15.34 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.1293, allocations: 40 kB / 333.1 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.761e-05/0.1294, allocations: 87.64 kB / 333.2 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.1295, allocations: 93.52 kB / 333.3 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004338/0.13, allocations: 415.1 kB / 333.7 MB, free: 14.71 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.13, allocations: 0 / 333.7 MB, free: 14.71 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.13, allocations: 0 / 333.7 MB, free: 14.71 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.13, allocations: 0 / 333.7 MB, free: 14.71 MB / 286.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.001604/0.1316, allocations: 0.7525 MB / 334.4 MB, free: 13.91 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.1317, allocations: 8.031 kB / 334.4 MB, free: 13.9 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.1318, allocations: 47.44 kB / 334.5 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.1323, allocations: 293.4 kB / 334.8 MB, free: 13.53 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/0.1323, allocations: 32.95 kB / 334.8 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.575e-05/0.1324, allocations: 36 kB / 334.8 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.1336, allocations: 0.5318 MB / 335.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.1337, allocations: 0 / 335.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.334e-05/0.1337, allocations: 20 kB / 335.4 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.1337, allocations: 12 kB / 335.4 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.1351, allocations: 0.5543 MB / 335.9 MB, free: 12.32 MB / 286.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.002798/0.1379, allocations: 1.71 MB / 337.7 MB, free: 10.47 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.1391, allocations: 459.7 kB / 338.1 MB, free: 10.01 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000536/0.1396, allocations: 265.8 kB / 338.4 MB, free: 9.75 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.821e-05/0.1397, allocations: 8.312 kB / 338.4 MB, free: 9.742 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.041e-05/0.1397, allocations: 38.89 kB / 338.4 MB, free: 9.695 MB / 286.1 MB Notification: Performance of pre-optimization done (n=40): time 2.885e-06/0.1397, allocations: 0 / 338.4 MB, free: 9.695 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.004896/0.1446, allocations: 1.548 MB / 340 MB, free: 8.098 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.776e-05/0.1448, allocations: 162.2 kB / 340.1 MB, free: 7.902 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003542/0.1451, allocations: 259 kB / 340.4 MB, free: 7.645 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/0.1452, allocations: 37.7 kB / 340.4 MB, free: 7.602 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.1453, allocations: 208.2 kB / 340.6 MB, free: 7.395 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.1455, allocations: 141.9 kB / 340.7 MB, free: 7.254 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.249e-05/0.1455, allocations: 4 kB / 340.7 MB, free: 7.25 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1456, allocations: 350.8 kB / 341.1 MB, free: 6.898 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005195/0.1462, allocations: 204.7 kB / 341.3 MB, free: 6.695 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005783/0.1468, allocations: 302.5 kB / 341.6 MB, free: 6.367 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005837/0.1474, allocations: 211.8 kB / 341.8 MB, free: 6.16 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.1474, allocations: 4 kB / 341.8 MB, free: 6.156 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002018/0.1494, allocations: 0.7718 MB / 342.6 MB, free: 5.371 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.1494, allocations: 4 kB / 342.6 MB, free: 5.367 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.501e-05/0.1495, allocations: 4 kB / 342.6 MB, free: 5.363 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/0.1508, allocations: 329.5 kB / 342.9 MB, free: 5.035 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003724/0.1512, allocations: 91.88 kB / 343 MB, free: 4.945 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.1526, allocations: 1.362 MB / 344.3 MB, free: 3.531 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005398/0.1531, allocations: 95.59 kB / 344.4 MB, free: 3.438 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.757e-05/0.1532, allocations: 23.94 kB / 344.5 MB, free: 3.414 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002661/0.1535, allocations: 157.7 kB / 344.6 MB, free: 3.25 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.512e-05/0.1536, allocations: 39.56 kB / 344.7 MB, free: 3.211 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002134/0.1557, allocations: 0.8098 MB / 345.5 MB, free: 2.387 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.1557, allocations: 7.953 kB / 345.5 MB, free: 2.379 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1557, allocations: 192 / 345.5 MB, free: 2.379 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.1558, allocations: 3.984 kB / 345.5 MB, free: 2.375 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008012/0.1566, allocations: 461 kB / 345.9 MB, free: 1.875 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.1566, allocations: 0 / 345.9 MB, free: 1.875 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003013/0.1569, allocations: 63.95 kB / 346 MB, free: 1.812 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001226/0.1581, allocations: 345.3 kB / 346.3 MB, free: 1.469 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.964e-05/0.1582, allocations: 11.98 kB / 346.3 MB, free: 1.457 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/0.1596, allocations: 1.374 MB / 347.7 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.1596, allocations: 4 kB / 347.7 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00263/0.1622, allocations: 1.133 MB / 348.9 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.1624, allocations: 116.6 kB / 349 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.202e-05/0.1624, allocations: 4 kB / 349 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/0.1628, allocations: 71.91 kB / 349 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.163, allocations: 31.95 kB / 349.1 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/0.163, allocations: 8 kB / 349.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002448/0.1633, allocations: 185.9 kB / 349.3 MB, free: 14.44 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1633, allocations: 0 / 349.3 MB, free: 14.44 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004425/0.1637, allocations: 115.8 kB / 349.4 MB, free: 14.33 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001854/0.1639, allocations: 107.6 kB / 349.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.1652, allocations: 0.511 MB / 350 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1653, allocations: 320 / 350 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006347/0.1659, allocations: 279.8 kB / 350.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/0.1664, allocations: 44.55 kB / 350.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.1684, allocations: 1.061 MB / 351.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.1688, allocations: 0.7959 MB / 352.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001852/0.169, allocations: 34.95 kB / 352.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.47e-05/0.1691, allocations: 19.44 kB / 352.2 MB, free: 11.42 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1691, allocations: 0 / 352.2 MB, free: 11.42 MB / 302.1 MB Notification: Performance of Templates: time 0.01231/0.1814, allocations: 5.217 MB / 357.4 MB, free: 6.203 MB / 302.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","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches