Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.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.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000882/0.000882, allocations: 93.22 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000973/0.0009729, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 227.7 MB / 246.8 MB, free: 11.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002797/0.0002797, allocations: 8 kB / 307.7 MB, free: 0.8438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1434, allocations: 51.53 MB / 359.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.005926/0.1494, allocations: 4.541 MB / 363.8 MB, free: 8.746 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002962/0.1524, allocations: 1.28 MB / 365.1 MB, free: 7.461 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003651/0.1528, allocations: 19.88 kB / 365.1 MB, free: 7.441 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.1531, allocations: 87.23 kB / 365.2 MB, free: 7.355 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000524/0.1536, allocations: 222.2 kB / 365.4 MB, free: 7.137 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006851/0.1543, allocations: 267.7 kB / 365.7 MB, free: 6.875 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.1554, allocations: 1.04 MB / 366.7 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004143/0.1558, allocations: 227.4 kB / 366.9 MB, free: 5.594 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004608/0.1563, allocations: 362.5 kB / 367.3 MB, free: 5.238 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005593/0.1569, allocations: 422 kB / 367.7 MB, free: 4.824 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.157e-05/0.157, allocations: 44 kB / 367.7 MB, free: 4.781 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.1572, allocations: 67.98 kB / 367.8 MB, free: 4.715 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.1573, allocations: 147.3 kB / 367.9 MB, free: 4.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004227/0.1577, allocations: 423.5 kB / 368.3 MB, free: 4.148 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009553/0.1587, allocations: 0.9341 MB / 369.3 MB, free: 3.211 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1587, allocations: 8 kB / 369.3 MB, free: 3.203 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1587, allocations: 0 / 369.3 MB, free: 3.203 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.1588, allocations: 0 / 369.3 MB, free: 3.203 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002686/0.1614, allocations: 1.157 MB / 370.4 MB, free: 1.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.161e-05/0.1615, allocations: 8.031 kB / 370.5 MB, free: 1.973 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002095/0.1617, allocations: 95.81 kB / 370.5 MB, free: 1.879 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007079/0.1624, allocations: 483.5 kB / 371 MB, free: 1.367 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.622e-05/0.1625, allocations: 45.69 kB / 371.1 MB, free: 1.324 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.1627, allocations: 72.28 kB / 371.1 MB, free: 1.254 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.1643, allocations: 0.6899 MB / 371.8 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.1644, allocations: 0 / 371.8 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.181e-05/0.1645, allocations: 28 kB / 371.9 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.1645, allocations: 16 kB / 371.9 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.312/0.4765, allocations: 0.7454 MB / 372.6 MB, free: 19.15 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.004972/0.4815, allocations: 2.423 MB / 375 MB, free: 18.31 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/0.4834, allocations: 0.6455 MB / 375.7 MB, free: 18.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009302/0.4843, allocations: 362.2 kB / 376 MB, free: 18.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.391e-05/0.4844, allocations: 12.91 kB / 376 MB, free: 18.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001139/0.4855, allocations: 458 kB / 376.5 MB, free: 17.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.916e-06/0.4855, allocations: 0 / 376.5 MB, free: 17.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.0744/0.5599, allocations: 16.75 MB / 393.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.5601, allocations: 141.5 kB / 393.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009452/0.5611, allocations: 0.5264 MB / 393.9 MB, free: 10.74 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000224/0.5613, allocations: 41.7 kB / 394 MB, free: 10.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/0.5616, allocations: 390.7 kB / 394.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002829/0.5619, allocations: 311.6 kB / 394.6 MB, free: 10 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.562, allocations: 85.67 kB / 394.7 MB, free: 9.914 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.5621, allocations: 382.8 kB / 395.1 MB, free: 9.531 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001907/0.564, allocations: 0.7986 MB / 395.9 MB, free: 8.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001997/0.566, allocations: 1.037 MB / 396.9 MB, free: 7.605 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003835/0.5699, allocations: 1.852 MB / 398.8 MB, free: 5.664 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.5699, allocations: 0 / 398.8 MB, free: 5.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0226/0.5925, allocations: 5.742 MB / 404.5 MB, free: 15.9 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.5927, allocations: 71.53 kB / 404.6 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/0.5927, allocations: 4 kB / 404.6 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03579/0.6285, allocations: 7.324 MB / 411.9 MB, free: 8.484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008599/0.6295, allocations: 181.6 kB / 412.1 MB, free: 8.309 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007422/0.6369, allocations: 3.222 MB / 415.3 MB, free: 5.035 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/0.639, allocations: 231.7 kB / 415.6 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.6391, allocations: 47.98 kB / 415.6 MB, free: 4.762 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 (V2.signalSource.count,$PRE.V2.signalSource.count,V2.signalSource.T_start,$PRE.V2.signalSource.T_start,V1.signalSource.count,$PRE.V1.signalSource.count,V1.signalSource.T_start,$PRE.V1.signalSource.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 2 * 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 {(5,32), (5,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0005511/0.6397, allocations: 229.6 kB / 415.8 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.6398, allocations: 79.06 kB / 415.9 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02369/0.6635, allocations: 5.473 MB / 421.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-05/0.6636, allocations: 16 kB / 421.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.6636, allocations: 0 / 421.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.751e-05/0.6636, allocations: 3.984 kB / 421.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/0.6655, allocations: 1.098 MB / 422.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.6655, allocations: 0 / 422.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000583/0.6661, allocations: 123.8 kB / 422.6 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0349/0.701, allocations: 7.298 MB / 429.9 MB, free: 6.391 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002776/0.7014, allocations: 23.98 kB / 429.9 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006163/0.7075, allocations: 3.076 MB / 433 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.7076, allocations: 0 / 433 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02633/0.7339, allocations: 6.438 MB / 439.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003708/0.7343, allocations: 140.2 kB / 439.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/0.7345, allocations: 24 kB / 439.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/0.736, allocations: 217.9 kB / 439.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00029/0.7363, allocations: 96.8 kB / 439.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.379e-05/0.7364, allocations: 31.98 kB / 439.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005183/0.737, allocations: 354.8 kB / 440.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.737, allocations: 0 / 440.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009167/0.7379, allocations: 258.6 kB / 440.5 MB, free: 11.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (HeatCapacitor1.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,V1.signalSource.T_start,V1.signalSource.count,V2.signalSource.T_start,V2.signalSource.count) * Number of discrete states: 2 (V2.signalSource.count,V1.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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 {(5,32), (5,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004145/0.7383, allocations: 132.7 kB / 440.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.007334/0.7457, allocations: 2.341 MB / 443 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.7457, allocations: 0 / 443 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003694/0.7494, allocations: 1.153 MB / 444.2 MB, free: 8.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009744/0.7504, allocations: 130.2 kB / 444.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004276/0.7547, allocations: 2.211 MB / 446.5 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005534/0.7553, allocations: 0.9479 MB / 447.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003199/0.7556, allocations: 54.28 kB / 447.5 MB, free: 4.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.7557, allocations: 31.44 kB / 447.5 MB, free: 4.594 MB / 350.1 MB Notification: Performance of SimCode: time 1.422e-06/0.7557, allocations: 0 / 447.5 MB, free: 4.594 MB / 350.1 MB Notification: Performance of Templates: time 0.03753/0.7933, allocations: 20.39 MB / 467.9 MB, free: 316 kB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches