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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 176.5 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 223.3 MB / 241.4 MB, free: 9.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007892/0.0007891, allocations: 103 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003214/0.0003215, allocations: 15.94 kB / 352.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2481, allocations: 50.41 MB / 402.7 MB, free: 32.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1107/0.3588, allocations: 83.11 MB / 485.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/0.3592, allocations: 71.95 kB / 485.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03913/0.3984, allocations: 12.74 MB / 498.7 MB, free: 356 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3984, allocations: 0 / 498.7 MB, free: 356 kB / 362.7 MB Notification: Performance of Transformations before backend: time 7.597e-05/0.3985, allocations: 16 kB / 498.7 MB, free: 340 kB / 362.7 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.003082/0.4016, allocations: 1.147 MB / 499.8 MB, free: 15.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.4016, allocations: 12.03 kB / 499.8 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003438/0.402, allocations: 95.81 kB / 499.9 MB, free: 15.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.4031, allocations: 0.5201 MB / 0.4887 GB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.124e-05/0.4032, allocations: 45.69 kB / 0.4888 GB, free: 14.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.4034, allocations: 68.36 kB / 0.4888 GB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.4049, allocations: 0.6785 MB / 0.4895 GB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.405, allocations: 192 / 0.4895 GB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.817e-05/0.4051, allocations: 31.94 kB / 0.4895 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.4051, allocations: 12 kB / 0.4895 GB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.4068, allocations: 0.7508 MB / 0.4903 GB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004295/0.4111, allocations: 2.345 MB / 0.4926 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.4125, allocations: 0.6451 MB / 0.4932 GB, free: 9.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006996/0.4133, allocations: 358 kB / 0.4935 GB, free: 9.379 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.811e-05/0.4133, allocations: 8.438 kB / 0.4935 GB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000919/0.4143, allocations: 457.4 kB / 0.494 GB, free: 8.895 MB / 378.7 MB Notification: Performance of pre-optimization done (n=54): time 2.415e-06/0.4143, allocations: 0 / 0.494 GB, free: 8.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=94): time 0.2593/0.6736, allocations: 16.54 MB / 0.5101 GB, free: 95.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.349e-05/0.6737, allocations: 147 kB / 0.5103 GB, free: 95.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006524/0.6744, allocations: 0.5099 MB / 0.5108 GB, free: 95.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001881/0.6746, allocations: 48.36 kB / 0.5108 GB, free: 95.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/0.6748, allocations: 391.3 kB / 0.5112 GB, free: 95.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002385/0.6751, allocations: 315.4 kB / 0.5115 GB, free: 94.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-05/0.6752, allocations: 22.41 kB / 0.5115 GB, free: 94.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.09e-05/0.6753, allocations: 385.4 kB / 0.5119 GB, free: 94.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001755/0.677, allocations: 0.7933 MB / 0.5126 GB, free: 94.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/0.6787, allocations: 1.03 MB / 0.5136 GB, free: 94.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003428/0.6822, allocations: 1.839 MB / 0.5154 GB, free: 93.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.6822, allocations: 6.516 kB / 0.5154 GB, free: 93.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02022/0.7024, allocations: 5.632 MB / 0.5209 GB, free: 91.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.448e-05/0.7025, allocations: 65.78 kB / 0.521 GB, free: 91.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.7026, allocations: 4 kB / 0.521 GB, free: 91.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03035/0.7329, allocations: 7.325 MB / 0.5282 GB, free: 84.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006955/0.7337, allocations: 187.7 kB / 0.5283 GB, free: 83.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004829/0.7385, allocations: 3.066 MB / 0.5313 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/0.7402, allocations: 223.8 kB / 0.5316 GB, free: 80.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.7403, allocations: 47.97 kB / 0.5316 GB, free: 80.58 MB / 378.7 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 ($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 (54): * Single equations (assignments): 50 * 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.0004749/0.7408, allocations: 228.1 kB / 0.5318 GB, free: 80.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.7409, allocations: 86.91 kB / 0.5319 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01951/0.7605, allocations: 5.464 MB / 0.5372 GB, free: 74.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/0.7605, allocations: 8 kB / 0.5372 GB, free: 74.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.7605, allocations: 7.984 kB / 0.5373 GB, free: 74.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.2e-05/0.7606, allocations: 3.984 kB / 0.5373 GB, free: 74.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.762, allocations: 1.1 MB / 0.5383 GB, free: 73.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.762, allocations: 0 / 0.5383 GB, free: 73.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004757/0.7625, allocations: 135.8 kB / 0.5385 GB, free: 73.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02909/0.7916, allocations: 7.29 MB / 0.5456 GB, free: 66.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002162/0.7918, allocations: 27.98 kB / 0.5456 GB, free: 66.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00559/0.7974, allocations: 3.221 MB / 0.5488 GB, free: 62.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.7974, allocations: 3.984 kB / 0.5488 GB, free: 62.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0215/0.819, allocations: 6.429 MB / 0.555 GB, free: 56.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002357/0.8192, allocations: 148.1 kB / 0.5552 GB, free: 56.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001981/0.8194, allocations: 24 kB / 0.5552 GB, free: 56.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.8207, allocations: 213.2 kB / 0.5554 GB, free: 56.08 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002315/0.821, allocations: 100.8 kB / 0.5555 GB, free: 55.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.979e-05/0.8211, allocations: 39.97 kB / 0.5555 GB, free: 55.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003526/0.8214, allocations: 350.8 kB / 0.5559 GB, free: 55.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8214, allocations: 0 / 0.5559 GB, free: 55.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007581/0.8222, allocations: 262.6 kB / 0.5561 GB, free: 55.35 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.0002514/0.8224, allocations: 141.4 kB / 0.5563 GB, free: 55.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005177/0.8276, allocations: 2.185 MB / 0.5584 GB, free: 53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.8277, allocations: 0 / 0.5584 GB, free: 53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003794/0.8315, allocations: 1.291 MB / 0.5596 GB, free: 51.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000859/0.8323, allocations: 129.8 kB / 0.5598 GB, free: 51.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003608/0.836, allocations: 2.119 MB / 0.5618 GB, free: 49.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.8363, allocations: 0.9471 MB / 0.5628 GB, free: 48.49 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003625/0.8367, allocations: 61.23 kB / 0.5628 GB, free: 48.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.8368, allocations: 31.44 kB / 0.5629 GB, free: 48.41 MB / 378.7 MB Notification: Performance of SimCode: time 1.463e-06/0.8368, allocations: 0 / 0.5629 GB, free: 48.41 MB / 378.7 MB Notification: Performance of Templates: time 0.02565/0.8625, allocations: 19.91 MB / 0.5823 GB, free: 28.64 MB / 378.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches