Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009762/0.0009762, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009294/0.0009295, allocations: 78.67 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.282e-05/3.284e-05, allocations: 7.984 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1041, allocations: 47.57 MB / 370 MB, free: 1.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3526/0.4567, allocations: 81.08 MB / 451.1 MB, free: 12.25 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.457, allocations: 75.77 kB / 451.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03481/0.4918, allocations: 12.09 MB / 463.3 MB, free: 1.609 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4919, allocations: 0 / 463.3 MB, free: 1.609 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.736e-05/0.4919, allocations: 16 kB / 463.3 MB, free: 1.594 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.00259/0.4945, allocations: 1.042 MB / 464.3 MB, free: 500 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.4946, allocations: 12.03 kB / 464.3 MB, free: 488 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.4948, allocations: 86.97 kB / 464.4 MB, free: 400 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.4958, allocations: 0.4899 MB / 464.9 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.857e-05/0.4959, allocations: 49.25 kB / 464.9 MB, free: 15.81 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/0.4961, allocations: 63.98 kB / 465 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.4972, allocations: 0.5493 MB / 465.6 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.4972, allocations: 3.984 kB / 465.6 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.814e-05/0.4973, allocations: 23.94 kB / 465.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.4973, allocations: 16 kB / 465.6 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009201/0.4982, allocations: 0.5246 MB / 466.1 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003755/0.502, allocations: 2.291 MB / 468.4 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007922/0.5028, allocations: 464.9 kB / 468.9 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000395/0.5032, allocations: 259.5 kB / 469.1 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.659e-05/0.5033, allocations: 12.42 kB / 469.1 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005865/0.5039, allocations: 349.6 kB / 469.5 MB, free: 11.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=54): time 3.016e-06/0.5039, allocations: 0 / 469.5 MB, free: 11.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=94): time 0.05846/0.5624, allocations: 13.47 MB / 482.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.5625, allocations: 141.3 kB / 483.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000749/0.5633, allocations: 428.7 kB / 483.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002662/0.5636, allocations: 45.7 kB / 483.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/0.5639, allocations: 364 kB / 483.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003311/0.5642, allocations: 311.5 kB / 484.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.494e-05/0.5643, allocations: 20 kB / 484.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.5645, allocations: 382.8 kB / 484.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008357/0.5654, allocations: 474 kB / 485.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009449/0.5663, allocations: 0.6652 MB / 485.7 MB, free: 10.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008462/0.5672, allocations: 0.5392 MB / 486.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.5672, allocations: 4 kB / 486.3 MB, free: 10.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.0205/0.5877, allocations: 4.813 MB / 491.1 MB, free: 5.238 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.5879, allocations: 67.34 kB / 491.2 MB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.5879, allocations: 8.125 kB / 491.2 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0331/0.621, allocations: 6.923 MB / 498.1 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007944/0.6218, allocations: 175.7 kB / 498.3 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004782/0.6266, allocations: 2.669 MB / 0.4892 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/0.6285, allocations: 227.8 kB / 0.4894 GB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.6287, allocations: 47.97 kB / 0.4894 GB, free: 11.05 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.V1.signalSource.T_start,V1.signalSource.T_start,$PRE.V1.signalSource.count,V1.signalSource.count,$PRE.V2.signalSource.T_start,V2.signalSource.T_start,$PRE.V2.signalSource.count,V2.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 32,5 32} Notification: Performance of prepare postOptimizeDAE: time 0.0002975/0.629, allocations: 168.8 kB / 0.4896 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.6291, allocations: 71.16 kB / 0.4897 GB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02001/0.6491, allocations: 4.681 MB / 0.4942 GB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-05/0.6492, allocations: 11.98 kB / 0.4943 GB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/0.6492, allocations: 4 kB / 0.4943 GB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.017e-05/0.6493, allocations: 7.984 kB / 0.4943 GB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/0.6511, allocations: 1.094 MB / 0.4953 GB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.6511, allocations: 4 kB / 0.4953 GB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005809/0.6517, allocations: 127.9 kB / 0.4955 GB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03217/0.6839, allocations: 6.895 MB / 0.5022 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002993/0.6843, allocations: 27.97 kB / 0.5022 GB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004439/0.6887, allocations: 2.685 MB / 0.5048 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.6887, allocations: 7.938 kB / 0.5049 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02067/0.7094, allocations: 5.295 MB / 0.51 GB, free: 5.797 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003214/0.7098, allocations: 148.1 kB / 0.5102 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/0.71, allocations: 20.06 kB / 0.5102 GB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/0.7114, allocations: 215.7 kB / 0.5104 GB, free: 5.402 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002714/0.7117, allocations: 100.6 kB / 0.5105 GB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.7118, allocations: 35.97 kB / 0.5105 GB, free: 5.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004352/0.7122, allocations: 325.6 kB / 0.5108 GB, free: 4.953 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7122, allocations: 0 / 0.5108 GB, free: 4.953 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008175/0.7131, allocations: 267.9 kB / 0.5111 GB, free: 4.691 MB / 394.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 32,5 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003201/0.7134, allocations: 144.2 kB / 0.5112 GB, free: 4.543 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003557/0.717, allocations: 1.509 MB / 0.5127 GB, free: 3.004 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.717, allocations: 4 kB / 0.5127 GB, free: 3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002252/0.7192, allocations: 0.8368 MB / 0.5135 GB, free: 2.168 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005953/0.7199, allocations: 115.9 kB / 0.5136 GB, free: 2.055 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.7222, allocations: 1.205 MB / 0.5148 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005143/0.7228, allocations: 0.951 MB / 0.5157 GB, free: 15.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002906/0.7231, allocations: 58.06 kB / 0.5158 GB, free: 15.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.7232, allocations: 31.44 kB / 0.5158 GB, free: 15.75 MB / 410.7 MB Notification: Performance of SimCode: time 5.72e-07/0.7232, allocations: 0 / 0.5158 GB, free: 15.75 MB / 410.7 MB Notification: Performance of Templates: time 0.2574/0.9806, allocations: 20.85 MB / 0.5362 GB, free: 134.1 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches