Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 108.7 kB / 16.51 MB, free: 6.715 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.002184/0.002184, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 222.9 MB / 241.1 MB, free: 15.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 53.45 kB / 299.9 MB, free: 6.285 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1288, allocations: 49.45 MB / 349.4 MB, free: 4.832 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.00642/0.1352, allocations: 4.945 MB / 354.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002888/0.1382, allocations: 1.276 MB / 355.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004178/0.1386, allocations: 16 kB / 355.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003401/0.139, allocations: 87.23 kB / 355.7 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005055/0.1395, allocations: 218.1 kB / 355.9 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007151/0.1403, allocations: 267.7 kB / 356.2 MB, free: 14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009556/0.1412, allocations: 1.033 MB / 357.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003886/0.1416, allocations: 231.4 kB / 357.4 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004233/0.1421, allocations: 374.5 kB / 357.8 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004753/0.1425, allocations: 450 kB / 358.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.873e-05/0.1427, allocations: 52 kB / 358.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002048/0.1429, allocations: 75.98 kB / 358.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.143, allocations: 167.3 kB / 358.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003898/0.1434, allocations: 409.8 kB / 358.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008578/0.1443, allocations: 0.9655 MB / 359.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1443, allocations: 0 / 359.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1443, allocations: 0 / 359.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.1443, allocations: 0 / 359.9 MB, free: 10.25 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.002586/0.1469, allocations: 1.247 MB / 361.2 MB, free: 8.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.147, allocations: 12.03 kB / 361.2 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.1472, allocations: 95.81 kB / 361.3 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006378/0.1478, allocations: 487.5 kB / 361.7 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.065e-05/0.1479, allocations: 45.69 kB / 361.8 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.148, allocations: 72.27 kB / 361.9 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.1494, allocations: 0.6509 MB / 362.5 MB, free: 7.535 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.1494, allocations: 4 kB / 362.5 MB, free: 7.531 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.796e-05/0.1495, allocations: 31.94 kB / 362.5 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.1495, allocations: 12 kB / 362.5 MB, free: 7.488 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.1512, allocations: 0.6922 MB / 363.2 MB, free: 6.793 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.003882/0.1551, allocations: 2.382 MB / 365.6 MB, free: 4.258 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.1565, allocations: 0.5905 MB / 366.2 MB, free: 3.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000707/0.1572, allocations: 330 kB / 366.5 MB, free: 3.336 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.354e-05/0.1573, allocations: 4.438 kB / 366.5 MB, free: 3.328 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/0.1583, allocations: 429.4 kB / 367 MB, free: 2.883 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.515e-06/0.1583, allocations: 0 / 367 MB, free: 2.883 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.3397/0.498, allocations: 15.41 MB / 382.4 MB, free: 22.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001548/0.4982, allocations: 144.7 kB / 382.5 MB, free: 22.74 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.4993, allocations: 0.5148 MB / 383 MB, free: 22.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002832/0.4997, allocations: 45.64 kB / 383.1 MB, free: 22.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003117/0.5, allocations: 382.6 kB / 383.4 MB, free: 22.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004487/0.5005, allocations: 319.1 kB / 383.8 MB, free: 21.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006728/0.5011, allocations: 184.6 kB / 383.9 MB, free: 21.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.5013, allocations: 387.2 kB / 384.3 MB, free: 21.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003576/0.5049, allocations: 0.7251 MB / 385 MB, free: 20.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00411/0.509, allocations: 0.9577 MB / 386 MB, free: 20.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007651/0.5167, allocations: 1.691 MB / 387.7 MB, free: 19.26 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.007e-05/0.5168, allocations: 1.375 kB / 387.7 MB, free: 19.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.04303/0.5598, allocations: 5.377 MB / 393.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.56, allocations: 67.39 kB / 393.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/0.56, allocations: 4.688 kB / 393.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03647/0.5965, allocations: 6.825 MB / 400 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007314/0.5973, allocations: 153.8 kB / 400.1 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005917/0.6032, allocations: 3.017 MB / 403.1 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/0.6051, allocations: 181.8 kB / 403.3 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001954/0.6053, allocations: 51.97 kB / 403.4 MB, free: 4.82 MB / 302.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.0005737/0.6059, allocations: 221.6 kB / 403.6 MB, free: 4.594 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002758/0.6062, allocations: 79.06 kB / 403.6 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02127/0.6274, allocations: 5.107 MB / 408.8 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.817e-05/0.6275, allocations: 12 kB / 408.8 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.6275, allocations: 0 / 408.8 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.758e-05/0.6276, allocations: 3.984 kB / 408.8 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.6294, allocations: 1.112 MB / 409.9 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.6294, allocations: 0 / 409.9 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005286/0.6299, allocations: 91.88 kB / 410 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03414/0.6641, allocations: 6.801 MB / 416.8 MB, free: 7.348 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002484/0.6644, allocations: 31.06 kB / 416.8 MB, free: 7.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006205/0.6706, allocations: 3.025 MB / 419.8 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6706, allocations: 0 / 419.8 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02547/0.6961, allocations: 5.983 MB / 425.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003114/0.6965, allocations: 148.1 kB / 426 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000314/0.6968, allocations: 25.47 kB / 426 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001489/0.6983, allocations: 171.8 kB / 426.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003493/0.6987, allocations: 96.86 kB / 426.2 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/0.6988, allocations: 35.97 kB / 426.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005031/0.6993, allocations: 354.8 kB / 426.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6993, allocations: 0 / 426.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00102/0.7004, allocations: 257.6 kB / 426.9 MB, free: 13.15 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.0003448/0.7007, allocations: 136.1 kB / 427 MB, free: 13.01 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.006579/0.7073, allocations: 2.04 MB / 429 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.7073, allocations: 1.375 kB / 429 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003591/0.7109, allocations: 1.073 MB / 430.1 MB, free: 9.879 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.7122, allocations: 122.7 kB / 430.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004559/0.7168, allocations: 2.145 MB / 432.4 MB, free: 7.613 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006677/0.7175, allocations: 0.951 MB / 433.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000374/0.7179, allocations: 58.31 kB / 433.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.718, allocations: 39.36 kB / 433.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of SimCode: time 1.303e-06/0.718, allocations: 0 / 433.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of Templates: time 0.03538/0.7534, allocations: 20.93 MB / 454.4 MB, free: 1.715 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches