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.001665/0.001665, allocations: 118.7 kB / 17.78 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00185/0.00185, allocations: 203.8 kB / 18.73 MB, free: 4.23 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.595/1.595, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.88 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4385/0.4398, allocations: 50.55 MB / 409.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.007557/0.4474, allocations: 4.945 MB / 414.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003884/0.4514, allocations: 1.291 MB / 415.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005107/0.4519, allocations: 11.94 kB / 415.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000403/0.4524, allocations: 126.7 kB / 415.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006177/0.453, allocations: 257.7 kB / 415.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000966/0.454, allocations: 315.4 kB / 416.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00118/0.4552, allocations: 1.103 MB / 417.3 MB, free: 9.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004231/0.4556, allocations: 266.5 kB / 417.6 MB, free: 9.254 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006226/0.4562, allocations: 422.5 kB / 418 MB, free: 8.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005689/0.4568, allocations: 462.1 kB / 418.4 MB, free: 8.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.4569, allocations: 88 kB / 418.5 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.4572, allocations: 108 kB / 418.6 MB, free: 8.195 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.4574, allocations: 199.3 kB / 418.8 MB, free: 8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004116/0.4578, allocations: 449.8 kB / 419.3 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.4588, allocations: 1.005 MB / 420.3 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4588, allocations: 4 kB / 420.3 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.4588, allocations: 0 / 420.3 MB, free: 6.551 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.4589, allocations: 3.938 kB / 420.3 MB, free: 6.547 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.002542/0.4614, allocations: 1.258 MB / 421.5 MB, free: 5.223 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.4615, allocations: 8.031 kB / 421.5 MB, free: 5.215 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.4616, allocations: 91.91 kB / 421.6 MB, free: 5.125 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007371/0.4624, allocations: 491.5 kB / 422.1 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.002e-05/0.4624, allocations: 45.69 kB / 422.1 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.4625, allocations: 68.36 kB / 422.2 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.4639, allocations: 0.6548 MB / 422.9 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.4639, allocations: 4 kB / 422.9 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.355e-05/0.464, allocations: 28 kB / 422.9 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.464, allocations: 16 kB / 422.9 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.4656, allocations: 0.6922 MB / 423.6 MB, free: 3.09 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.003976/0.4696, allocations: 2.363 MB / 426 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/0.4711, allocations: 0.5904 MB / 426.6 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007055/0.4718, allocations: 341.9 kB / 426.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.905e-05/0.4718, allocations: 8.438 kB / 426.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000882/0.4727, allocations: 425.5 kB / 427.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 3.126e-06/0.4727, allocations: 3.938 kB / 427.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06762/0.5404, allocations: 15.41 MB / 442.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001826/0.5406, allocations: 145.5 kB / 442.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000976/0.5416, allocations: 0.5185 MB / 443.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002831/0.5419, allocations: 41.7 kB / 443.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000411/0.5423, allocations: 391.8 kB / 443.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003814/0.5427, allocations: 315.4 kB / 444.1 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004169/0.5431, allocations: 186.5 kB / 444.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002943/0.5434, allocations: 386.7 kB / 444.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002036/0.5455, allocations: 0.7244 MB / 445.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00214/0.5476, allocations: 0.9668 MB / 446.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004066/0.5517, allocations: 1.697 MB / 448.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.5517, allocations: 4 kB / 448.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02326/0.575, allocations: 5.362 MB / 453.4 MB, free: 4.676 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000128/0.5752, allocations: 75.33 kB / 453.5 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-05/0.5752, allocations: 4 kB / 453.5 MB, free: 4.586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03279/0.608, allocations: 6.829 MB / 460.3 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006878/0.6088, allocations: 147.7 kB / 460.5 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005866/0.6147, allocations: 3.016 MB / 463.5 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.6163, allocations: 175.8 kB / 463.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.6164, allocations: 43.98 kB / 463.7 MB, free: 10.31 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.0004431/0.6169, allocations: 233.6 kB / 463.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.617, allocations: 86.97 kB / 464 MB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02126/0.6383, allocations: 5.107 MB / 469.1 MB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.6383, allocations: 12 kB / 469.2 MB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.6383, allocations: 0 / 469.2 MB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.6384, allocations: 3.984 kB / 469.2 MB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.6398, allocations: 1.1 MB / 470.3 MB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.6398, allocations: 4 kB / 470.3 MB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004851/0.6403, allocations: 91.81 kB / 470.4 MB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03192/0.6722, allocations: 6.786 MB / 477.1 MB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001889/0.6725, allocations: 27.97 kB / 477.2 MB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005657/0.6781, allocations: 3.021 MB / 480.2 MB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6781, allocations: 4 kB / 480.2 MB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02349/0.7016, allocations: 5.983 MB / 486.2 MB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000228/0.7019, allocations: 148.1 kB / 486.3 MB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/0.7021, allocations: 16 kB / 486.3 MB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/0.7034, allocations: 171.8 kB / 486.5 MB, free: 3.332 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002597/0.7036, allocations: 92.88 kB / 486.6 MB, free: 3.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.697e-05/0.7037, allocations: 35.97 kB / 486.6 MB, free: 3.207 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000405/0.7042, allocations: 350.8 kB / 487 MB, free: 2.863 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.234e-06/0.7042, allocations: 4 kB / 487 MB, free: 2.859 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007415/0.7049, allocations: 263.9 kB / 487.2 MB, free: 2.602 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.0002713/0.7052, allocations: 142.8 kB / 487.4 MB, free: 2.457 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005769/0.711, allocations: 2.055 MB / 489.4 MB, free: 388 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.711, allocations: 0 / 489.4 MB, free: 388 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003379/0.7144, allocations: 1.083 MB / 490.5 MB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007382/0.7151, allocations: 136.1 kB / 490.6 MB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003611/0.7188, allocations: 1.79 MB / 492.4 MB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005592/0.7193, allocations: 0.9506 MB / 493.4 MB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002357/0.7196, allocations: 58.27 kB / 493.4 MB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.7197, allocations: 43.36 kB / 493.5 MB, free: 12.27 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.7197, allocations: 4 kB / 493.5 MB, free: 12.27 MB / 414.1 MB Notification: Performance of Templates: time 0.03878/0.7585, allocations: 22.87 MB / 0.5043 GB, free: 5.477 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