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.001627/0.001637, allocations: 117.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001654/0.001654, allocations: 203.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4433/0.4445, allocations: 50.54 MB / 409.3 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.007309/0.4518, allocations: 4.946 MB / 414.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00386/0.4557, allocations: 1.287 MB / 415.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004877/0.4563, allocations: 19.88 kB / 415.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004049/0.4567, allocations: 122.7 kB / 415.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006036/0.4573, allocations: 253.7 kB / 415.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.4584, allocations: 311.5 kB / 416.2 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001208/0.4596, allocations: 1.099 MB / 417.3 MB, free: 9.547 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004743/0.4601, allocations: 266.5 kB / 417.6 MB, free: 9.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005108/0.4606, allocations: 418.5 kB / 418 MB, free: 8.859 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005821/0.4612, allocations: 466 kB / 418.4 MB, free: 8.402 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.4613, allocations: 88 kB / 418.5 MB, free: 8.316 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002536/0.4616, allocations: 116 kB / 418.6 MB, free: 8.203 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.4618, allocations: 187.3 kB / 418.8 MB, free: 8.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004067/0.4622, allocations: 449.8 kB / 419.2 MB, free: 7.578 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.4633, allocations: 1.005 MB / 420.2 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4633, allocations: 0 / 420.2 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.949e-06/0.4633, allocations: 0 / 420.2 MB, free: 6.574 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.4633, allocations: 3.938 kB / 420.2 MB, free: 6.57 MB / 334.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.002736/0.4661, allocations: 1.266 MB / 421.5 MB, free: 5.238 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.4661, allocations: 8.031 kB / 421.5 MB, free: 5.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.4663, allocations: 95.91 kB / 421.6 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000819/0.4671, allocations: 483.5 kB / 422.1 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.341e-05/0.4672, allocations: 49.69 kB / 422.1 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.4673, allocations: 68.36 kB / 422.2 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.4688, allocations: 0.6587 MB / 422.9 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.4689, allocations: 0 / 422.9 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.327e-05/0.4689, allocations: 28 kB / 422.9 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.469, allocations: 16 kB / 422.9 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.4707, allocations: 0.6961 MB / 423.6 MB, free: 3.102 MB / 334.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.004154/0.4749, allocations: 2.366 MB / 426 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/0.4765, allocations: 0.5905 MB / 426.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000774/0.4773, allocations: 333.9 kB / 426.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.311e-05/0.4774, allocations: 4.438 kB / 426.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/0.4784, allocations: 433.4 kB / 427.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.645e-06/0.4784, allocations: 0 / 427.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07028/0.5487, allocations: 15.41 MB / 442.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/0.5489, allocations: 153.4 kB / 442.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009051/0.5498, allocations: 0.5185 MB / 443.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002702/0.5501, allocations: 45.7 kB / 443.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/0.5504, allocations: 383.8 kB / 443.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003535/0.5508, allocations: 319.4 kB / 444.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004056/0.5512, allocations: 178.5 kB / 444.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.5514, allocations: 394.7 kB / 444.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002048/0.5535, allocations: 0.7166 MB / 445.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002264/0.5558, allocations: 0.9668 MB / 446.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004249/0.56, allocations: 1.701 MB / 448.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.5601, allocations: 0 / 448.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02276/0.5828, allocations: 5.374 MB / 453.4 MB, free: 4.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.583, allocations: 63.39 kB / 453.5 MB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-05/0.583, allocations: 8 kB / 453.5 MB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03371/0.6168, allocations: 6.825 MB / 460.3 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007795/0.6176, allocations: 155.7 kB / 460.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006218/0.6238, allocations: 3.008 MB / 463.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/0.6256, allocations: 175.9 kB / 463.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.6257, allocations: 51.95 kB / 463.7 MB, free: 10.32 MB / 382.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.0005014/0.6262, allocations: 233.6 kB / 463.9 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.6264, allocations: 82.97 kB / 464 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02145/0.6478, allocations: 5.103 MB / 469.1 MB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.523e-05/0.6479, allocations: 12 kB / 469.1 MB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/0.648, allocations: 4 kB / 469.1 MB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-05/0.648, allocations: 3.984 kB / 469.2 MB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001989/0.65, allocations: 1.1 MB / 470.3 MB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.65, allocations: 0 / 470.3 MB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005714/0.6506, allocations: 99.81 kB / 470.3 MB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03364/0.6843, allocations: 6.782 MB / 477.1 MB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002821/0.6846, allocations: 31.97 kB / 477.2 MB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005901/0.6905, allocations: 3.021 MB / 480.2 MB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.6905, allocations: 0 / 480.2 MB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02286/0.7134, allocations: 5.979 MB / 486.2 MB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/0.7137, allocations: 148.1 kB / 486.3 MB, free: 3.531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.7139, allocations: 20 kB / 486.3 MB, free: 3.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.7152, allocations: 167.8 kB / 486.5 MB, free: 3.348 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002506/0.7155, allocations: 100.9 kB / 486.6 MB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-05/0.7156, allocations: 31.97 kB / 486.6 MB, free: 3.219 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004136/0.716, allocations: 358.8 kB / 487 MB, free: 2.867 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.443e-06/0.716, allocations: 0 / 487 MB, free: 2.867 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007623/0.7168, allocations: 263.9 kB / 487.2 MB, free: 2.609 MB / 398.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.0002812/0.717, allocations: 127.2 kB / 487.4 MB, free: 2.477 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005975/0.723, allocations: 2.063 MB / 489.4 MB, free: 400 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.7231, allocations: 0 / 489.4 MB, free: 400 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003424/0.7265, allocations: 1.082 MB / 490.5 MB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008507/0.7274, allocations: 134.5 kB / 490.6 MB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003608/0.731, allocations: 1.786 MB / 492.4 MB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004751/0.7315, allocations: 0.9506 MB / 493.4 MB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002563/0.7317, allocations: 58.27 kB / 493.4 MB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.7319, allocations: 39.44 kB / 493.5 MB, free: 12.29 MB / 414.1 MB Notification: Performance of SimCode: time 1.232e-06/0.7319, allocations: 0 / 493.5 MB, free: 12.29 MB / 414.1 MB Notification: Performance of Templates: time 0.03483/0.7667, allocations: 22.89 MB / 0.5042 GB, free: 5.492 MB / 430.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