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.001354/0.001354, allocations: 183 kB / 18.04 MB, free: 3.777 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.325/1.325, allocations: 205.4 MB / 224.2 MB, free: 9.027 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.0007892/0.0007893, allocations: 85.55 kB / 272.5 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003095/0.0003097, allocations: 15.98 kB / 329.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2178, allocations: 47.58 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.096/0.3139, allocations: 81.23 MB / 458.3 MB, free: 15.31 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.3142, allocations: 71.97 kB / 458.3 MB, free: 15.24 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03538/0.3496, allocations: 12.11 MB / 470.4 MB, free: 3.066 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.3496, allocations: 4 kB / 470.4 MB, free: 3.062 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.103e-05/0.3497, allocations: 12 kB / 470.5 MB, free: 3.051 MB / 346.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.002722/0.3524, allocations: 1.124 MB / 471.6 MB, free: 1.859 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.445e-05/0.3525, allocations: 8.031 kB / 471.6 MB, free: 1.852 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002977/0.3528, allocations: 84 kB / 471.7 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009413/0.3537, allocations: 0.5063 MB / 472.2 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.136e-05/0.3538, allocations: 49.69 kB / 472.2 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.3539, allocations: 60.38 kB / 472.3 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.3553, allocations: 0.6589 MB / 472.9 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.3554, allocations: 4.094 kB / 472.9 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.606e-05/0.3555, allocations: 31.94 kB / 473 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.3555, allocations: 12 kB / 473 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.3572, allocations: 0.7351 MB / 473.7 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004254/0.3615, allocations: 2.29 MB / 476 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.363, allocations: 0.6343 MB / 476.6 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007425/0.3637, allocations: 358.6 kB / 477 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.406e-05/0.3638, allocations: 16.31 kB / 477 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009959/0.3648, allocations: 449.5 kB / 477.5 MB, free: 11.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=54): time 3.557e-06/0.3648, allocations: 0 / 477.5 MB, free: 11.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=94): time 0.06614/0.431, allocations: 16.56 MB / 494 MB, free: 11.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.4311, allocations: 141.5 kB / 494.1 MB, free: 10.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006723/0.4318, allocations: 490.8 kB / 494.6 MB, free: 10.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001887/0.432, allocations: 45.7 kB / 494.7 MB, free: 10.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/0.4323, allocations: 375.9 kB / 495 MB, free: 10.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003204/0.4326, allocations: 299.6 kB / 495.3 MB, free: 9.723 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.946e-05/0.4327, allocations: 24 kB / 495.4 MB, free: 9.699 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4329, allocations: 382.8 kB / 495.7 MB, free: 9.316 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002036/0.4349, allocations: 0.7866 MB / 496.5 MB, free: 8.531 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002142/0.4371, allocations: 1.005 MB / 497.5 MB, free: 7.445 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004021/0.4411, allocations: 1.799 MB / 499.3 MB, free: 5.566 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.4412, allocations: 4 kB / 499.3 MB, free: 5.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.2004/0.6415, allocations: 5.596 MB / 0.4931 GB, free: 106.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.276e-05/0.6416, allocations: 63.45 kB / 0.4931 GB, free: 106.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.836e-05/0.6417, allocations: 7.375 kB / 0.4932 GB, free: 106.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03322/0.6749, allocations: 7.33 MB / 0.5003 GB, free: 106.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00065/0.6756, allocations: 177.6 kB / 0.5005 GB, free: 106.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004885/0.6805, allocations: 3.062 MB / 0.5035 GB, free: 105.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.682, allocations: 227.5 kB / 0.5037 GB, free: 105.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.521e-05/0.6821, allocations: 43.42 kB / 0.5037 GB, free: 105.2 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 () * Number of clocked 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.000369/0.6825, allocations: 218.9 kB / 0.5039 GB, free: 105.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.6826, allocations: 77.81 kB / 0.504 GB, free: 105.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02055/0.7032, allocations: 5.472 MB / 0.5094 GB, free: 104.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/0.7033, allocations: 14.91 kB / 0.5094 GB, free: 104.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.7033, allocations: 1.203 kB / 0.5094 GB, free: 104.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.019e-05/0.7033, allocations: 3.891 kB / 0.5094 GB, free: 104.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.7047, allocations: 1.083 MB / 0.5104 GB, free: 104.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.7047, allocations: 0 / 0.5104 GB, free: 104.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005293/0.7052, allocations: 124.3 kB / 0.5106 GB, free: 104.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03048/0.7357, allocations: 7.293 MB / 0.5177 GB, free: 98.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001818/0.7359, allocations: 19.98 kB / 0.5177 GB, free: 98.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005561/0.7415, allocations: 3.246 MB / 0.5209 GB, free: 95.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.7415, allocations: 0 / 0.5209 GB, free: 95.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02163/0.7632, allocations: 6.419 MB / 0.5271 GB, free: 89.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/0.7635, allocations: 140.2 kB / 0.5273 GB, free: 89.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.7636, allocations: 19.98 kB / 0.5273 GB, free: 89.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.7649, allocations: 211.8 kB / 0.5275 GB, free: 88.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002412/0.7652, allocations: 100.8 kB / 0.5276 GB, free: 88.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.911e-05/0.7652, allocations: 41.38 kB / 0.5276 GB, free: 88.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003326/0.7656, allocations: 334.9 kB / 0.5279 GB, free: 88.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7656, allocations: 0 / 0.5279 GB, free: 88.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007162/0.7663, allocations: 260.6 kB / 0.5282 GB, free: 88.14 MB / 378.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) * 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 (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.0002609/0.7666, allocations: 136.8 kB / 0.5283 GB, free: 88.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005074/0.7717, allocations: 2.186 MB / 0.5305 GB, free: 85.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7717, allocations: 0 / 0.5305 GB, free: 85.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003803/0.7755, allocations: 1.284 MB / 0.5317 GB, free: 84.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006825/0.7762, allocations: 128.2 kB / 0.5318 GB, free: 84.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003295/0.7795, allocations: 2.059 MB / 0.5338 GB, free: 82.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.7798, allocations: 0.9352 MB / 0.5348 GB, free: 81.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002827/0.7801, allocations: 52.91 kB / 0.5348 GB, free: 81.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.7802, allocations: 35.42 kB / 0.5348 GB, free: 81.31 MB / 378.7 MB Notification: Performance of SimCode: time 8.11e-07/0.7802, allocations: 0 / 0.5348 GB, free: 81.31 MB / 378.7 MB Notification: Performance of Templates: time 0.02315/0.8034, allocations: 19.85 MB / 0.5542 GB, free: 61.53 MB / 378.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/jenkins1/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