Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001827/0.001826, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001595/0.001596, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.677/1.677, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 68.3 kB / 307 MB, free: 0.5703 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1511, allocations: 50.54 MB / 357.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.005434/0.1566, allocations: 3.151 MB / 360.7 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.1586, allocations: 0.8546 MB / 361.5 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001914/0.1588, allocations: 11.94 kB / 361.6 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.159, allocations: 59.38 kB / 361.6 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.1593, allocations: 114.9 kB / 361.7 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004735/0.1598, allocations: 159.7 kB / 361.9 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005997/0.1604, allocations: 0.5424 MB / 362.4 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003735/0.1607, allocations: 172.3 kB / 362.6 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000401/0.1612, allocations: 223.2 kB / 362.8 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003831/0.1616, allocations: 255 kB / 363.1 MB, free: 8.457 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.836e-05/0.1617, allocations: 52 kB / 363.1 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.1618, allocations: 64 kB / 363.2 MB, free: 8.344 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.162, allocations: 115.6 kB / 363.3 MB, free: 8.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003024/0.1623, allocations: 234.9 kB / 363.5 MB, free: 8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007722/0.1631, allocations: 0.5531 MB / 364.1 MB, free: 7.445 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.1631, allocations: 4 kB / 364.1 MB, free: 7.441 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.247e-06/0.1631, allocations: 0 / 364.1 MB, free: 7.441 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.1632, allocations: 0 / 364.1 MB, free: 7.441 MB / 302.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.002083/0.1652, allocations: 0.7992 MB / 364.9 MB, free: 6.594 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.83e-05/0.1653, allocations: 12.03 kB / 364.9 MB, free: 6.582 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002908/0.1656, allocations: 60.36 kB / 364.9 MB, free: 6.523 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000589/0.1662, allocations: 315.3 kB / 365.2 MB, free: 6.176 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.422e-05/0.1663, allocations: 29.31 kB / 365.3 MB, free: 6.145 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.128e-05/0.1664, allocations: 36.38 kB / 365.3 MB, free: 6.109 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.1677, allocations: 0.5009 MB / 365.8 MB, free: 5.586 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.1677, allocations: 0 / 365.8 MB, free: 5.586 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.045e-05/0.1677, allocations: 16 kB / 365.8 MB, free: 5.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.1678, allocations: 8 kB / 365.8 MB, free: 5.562 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/0.1692, allocations: 0.5074 MB / 366.3 MB, free: 5.055 MB / 302.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.003018/0.1722, allocations: 1.667 MB / 368 MB, free: 3.246 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.1735, allocations: 434.7 kB / 368.4 MB, free: 2.816 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005775/0.1741, allocations: 241.4 kB / 368.7 MB, free: 2.578 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.056e-05/0.1741, allocations: 16.3 kB / 368.7 MB, free: 2.562 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.1742, allocations: 38.89 kB / 368.7 MB, free: 2.516 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 1.893e-06/0.1742, allocations: 0 / 368.7 MB, free: 2.516 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.005139/0.1793, allocations: 1.361 MB / 370.1 MB, free: 1.105 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001603/0.1795, allocations: 158.2 kB / 370.2 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004221/0.1799, allocations: 271 kB / 370.5 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.241e-05/0.18, allocations: 29.7 kB / 370.5 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.1802, allocations: 208.3 kB / 370.7 MB, free: 408 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.1803, allocations: 142 kB / 370.9 MB, free: 264 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.1805, allocations: 78.12 kB / 370.9 MB, free: 180 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.2324/0.413, allocations: 342 kB / 371.3 MB, free: 20.13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.4141, allocations: 177.8 kB / 371.5 MB, free: 20.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007004/0.4148, allocations: 282.2 kB / 371.7 MB, free: 20.03 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.4159, allocations: 425.8 kB / 372.1 MB, free: 19.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.416, allocations: 1.219 kB / 372.1 MB, free: 19.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002401/0.4184, allocations: 0.681 MB / 372.8 MB, free: 19.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/0.4184, allocations: 5.922 kB / 372.8 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.4184, allocations: 2.844 kB / 372.8 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001683/0.4201, allocations: 318.5 kB / 373.1 MB, free: 19.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/0.4205, allocations: 76.67 kB / 373.2 MB, free: 19.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/0.4221, allocations: 1.35 MB / 374.6 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000569/0.4227, allocations: 80.39 kB / 374.7 MB, free: 18.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.959e-05/0.4228, allocations: 17.31 kB / 374.7 MB, free: 18.81 MB / 302.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.0002629/0.423, allocations: 162.8 kB / 374.8 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.4232, allocations: 33.34 kB / 374.9 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/0.4257, allocations: 0.7408 MB / 375.6 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.4257, allocations: 4.734 kB / 375.6 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.4257, allocations: 0 / 375.6 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.4257, allocations: 2.484 kB / 375.6 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000929/0.4267, allocations: 456.8 kB / 376.1 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.4267, allocations: 192 / 376.1 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003371/0.427, allocations: 59.81 kB / 376.1 MB, free: 18.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001466/0.4285, allocations: 321 kB / 376.4 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.605e-05/0.4286, allocations: 16.47 kB / 376.4 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/0.43, allocations: 1.359 MB / 377.8 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.43, allocations: 2.844 kB / 377.8 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003199/0.4332, allocations: 1.014 MB / 378.8 MB, free: 16.42 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.4334, allocations: 119 kB / 378.9 MB, free: 16.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.724e-05/0.4335, allocations: 10.06 kB / 378.9 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004735/0.434, allocations: 49.69 kB / 379 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.4341, allocations: 24.58 kB / 379 MB, free: 16.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.694e-05/0.4342, allocations: 13.02 kB / 379 MB, free: 16.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000378/0.4346, allocations: 194.7 kB / 379.2 MB, free: 16.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.72e-07/0.4346, allocations: 1.188 kB / 379.2 MB, free: 16.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006848/0.4353, allocations: 107.8 kB / 379.3 MB, free: 16.15 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 (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.00027/0.4356, allocations: 114.2 kB / 379.4 MB, free: 16.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001849/0.4374, allocations: 493.7 kB / 379.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.4374, allocations: 0 / 379.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008025/0.4383, allocations: 258.8 kB / 380.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006322/0.4389, allocations: 53.72 kB / 380.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.4412, allocations: 0.8743 MB / 381.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004393/0.4416, allocations: 0.7984 MB / 381.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002181/0.4418, allocations: 31.69 kB / 381.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.442, allocations: 22.23 kB / 382 MB, free: 14.61 MB / 302.1 MB Notification: Performance of SimCode: time 1.132e-06/0.442, allocations: 0 / 382 MB, free: 14.61 MB / 302.1 MB Notification: Performance of Templates: time 0.01815/0.4601, allocations: 5.89 MB / 387.8 MB, free: 12.96 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches