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.001852/0.001852, allocations: 111.4 kB / 17.99 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002255/0.002255, allocations: 209.8 kB / 18.92 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.239/2.239, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 59.47 kB / 307.1 MB, free: 0.9531 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1285, allocations: 50.54 MB / 357.6 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.008065/0.1367, allocations: 4.976 MB / 362.6 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003609/0.1403, allocations: 1.283 MB / 363.9 MB, free: 8.129 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008173/0.1413, allocations: 11.94 kB / 363.9 MB, free: 8.117 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006428/0.1419, allocations: 87.3 kB / 364 MB, free: 8.031 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.1432, allocations: 218.1 kB / 364.2 MB, free: 7.816 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.1444, allocations: 275.6 kB / 364.5 MB, free: 7.547 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001986/0.1465, allocations: 1.087 MB / 365.6 MB, free: 6.453 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006796/0.1472, allocations: 262.5 kB / 365.8 MB, free: 6.188 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009817/0.1482, allocations: 418.5 kB / 366.2 MB, free: 5.777 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009303/0.1491, allocations: 470 kB / 366.7 MB, free: 5.316 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003272/0.1495, allocations: 88 kB / 366.8 MB, free: 5.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004189/0.1499, allocations: 108 kB / 366.9 MB, free: 5.125 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002756/0.1502, allocations: 195.3 kB / 367.1 MB, free: 4.934 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007909/0.151, allocations: 449.8 kB / 367.5 MB, free: 4.492 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.1522, allocations: 0.7561 MB / 368.3 MB, free: 3.734 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1523, allocations: 0 / 368.3 MB, free: 3.734 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1523, allocations: 4 kB / 368.3 MB, free: 3.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.811e-05/0.1523, allocations: 0 / 368.3 MB, free: 3.73 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.003994/0.1563, allocations: 1.254 MB / 369.5 MB, free: 2.406 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.1564, allocations: 12.03 kB / 369.5 MB, free: 2.395 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003013/0.1567, allocations: 99.73 kB / 369.6 MB, free: 2.297 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.1577, allocations: 479.4 kB / 370.1 MB, free: 1.789 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.248e-05/0.1578, allocations: 49.69 kB / 370.1 MB, free: 1.742 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.158, allocations: 68.36 kB / 370.2 MB, free: 1.676 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/0.1602, allocations: 0.6548 MB / 370.9 MB, free: 1.012 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/0.1603, allocations: 0 / 370.9 MB, free: 1.012 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.805e-05/0.1604, allocations: 24 kB / 370.9 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.351e-05/0.1604, allocations: 16 kB / 370.9 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00253/0.163, allocations: 0.7038 MB / 371.6 MB, free: 276 kB / 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.1961/0.3591, allocations: 2.366 MB / 374 MB, free: 19.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.3608, allocations: 0.5874 MB / 374.6 MB, free: 19.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008105/0.3616, allocations: 329 kB / 374.9 MB, free: 19.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.34e-05/0.3617, allocations: 7.094 kB / 374.9 MB, free: 19.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001147/0.3628, allocations: 434.2 kB / 375.3 MB, free: 18.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 3.106e-06/0.3629, allocations: 0.8125 kB / 375.3 MB, free: 18.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.07214/0.435, allocations: 15.43 MB / 390.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.246e-05/0.4351, allocations: 144.6 kB / 390.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006209/0.4358, allocations: 0.5193 MB / 391.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002306/0.436, allocations: 41.64 kB / 391.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.4362, allocations: 391.1 kB / 391.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003235/0.4366, allocations: 310.3 kB / 392.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004043/0.437, allocations: 189.5 kB / 392.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.4371, allocations: 386.5 kB / 392.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001968/0.4391, allocations: 0.7193 MB / 393.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001852/0.4409, allocations: 0.959 MB / 394.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003568/0.4445, allocations: 1.689 MB / 396.1 MB, free: 8.652 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.4445, allocations: 4 kB / 396.1 MB, free: 8.648 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02279/0.4673, allocations: 5.369 MB / 401.4 MB, free: 3.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.044e-05/0.4675, allocations: 70.36 kB / 401.5 MB, free: 3.172 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.4675, allocations: 4 kB / 401.5 MB, free: 3.168 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03484/0.5023, allocations: 6.839 MB / 408.3 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007563/0.5031, allocations: 143.7 kB / 408.5 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006485/0.5096, allocations: 3.021 MB / 411.5 MB, free: 9.105 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001835/0.5115, allocations: 180.7 kB / 411.7 MB, free: 8.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001903/0.5117, allocations: 44.64 kB / 411.7 MB, free: 8.887 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.0005673/0.5123, allocations: 237.5 kB / 412 MB, free: 8.648 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/0.5126, allocations: 86.97 kB / 412 MB, free: 8.562 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02408/0.5367, allocations: 5.097 MB / 417.1 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/0.5367, allocations: 8 kB / 417.1 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.5367, allocations: 7.938 kB / 417.2 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.724e-05/0.5368, allocations: 3.984 kB / 417.2 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.5387, allocations: 1.087 MB / 418.2 MB, free: 2.316 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/0.5388, allocations: 4.875 kB / 418.3 MB, free: 2.312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005758/0.5393, allocations: 99.16 kB / 418.3 MB, free: 2.219 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03547/0.5748, allocations: 6.789 MB / 425.1 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00026/0.5751, allocations: 27.97 kB / 425.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006073/0.5812, allocations: 3.029 MB / 428.2 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.5812, allocations: 0 / 428.2 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02592/0.6072, allocations: 5.986 MB / 434.2 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002899/0.6075, allocations: 144.2 kB / 434.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003489/0.6079, allocations: 16 kB / 434.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001596/0.6095, allocations: 187.6 kB / 434.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003248/0.6098, allocations: 93.53 kB / 434.6 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/0.61, allocations: 35.97 kB / 434.6 MB, free: 1.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004563/0.6104, allocations: 354.8 kB / 435 MB, free: 1.477 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6104, allocations: 0 / 435 MB, free: 1.477 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009476/0.6114, allocations: 260 kB / 435.2 MB, free: 1.223 MB / 334.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.0003316/0.6117, allocations: 123.1 kB / 435.4 MB, free: 1.098 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.006427/0.6182, allocations: 2.068 MB / 437.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.6182, allocations: 7.938 kB / 437.4 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00378/0.622, allocations: 1.085 MB / 438.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.6231, allocations: 125.1 kB / 438.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004288/0.6274, allocations: 2.178 MB / 440.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005475/0.628, allocations: 0.9468 MB / 441.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.6282, allocations: 43.42 kB / 441.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of SimCode: time 1.012e-06/0.6282, allocations: 0 / 441.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of Templates: time 0.02432/0.6525, allocations: 17.4 MB / 459.2 MB, free: 9.227 MB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins1/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