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.001316/0.001316, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.3 MB / 214.4 MB, free: 1.723 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008777/0.0008777, allocations: 83.95 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.617e-05/1.619e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08703/0.08706, allocations: 47.58 MB / 363.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3209/0.408, allocations: 80.65 MB / 443.7 MB, free: 15.05 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.4083, allocations: 75.02 kB / 443.8 MB, free: 15.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03479/0.4431, allocations: 11.97 MB / 455.8 MB, free: 4.945 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4432, allocations: 4 kB / 455.8 MB, free: 4.941 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.975e-05/0.4432, allocations: 12 kB / 455.8 MB, free: 4.93 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.002223/0.4454, allocations: 1.05 MB / 456.8 MB, free: 3.871 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.4455, allocations: 8.031 kB / 456.8 MB, free: 3.863 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.4456, allocations: 86.97 kB / 456.9 MB, free: 3.777 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009149/0.4466, allocations: 0.4896 MB / 457.4 MB, free: 3.312 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.4466, allocations: 27.88 kB / 457.4 MB, free: 3.285 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.945e-05/0.4467, allocations: 36 kB / 457.5 MB, free: 3.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008188/0.4475, allocations: 0.4947 MB / 458 MB, free: 2.949 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008305/0.4484, allocations: 477.9 kB / 458.4 MB, free: 2.609 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.4484, allocations: 0 / 458.4 MB, free: 2.609 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.404e-05/0.4485, allocations: 4.75 kB / 458.4 MB, free: 2.605 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.4485, allocations: 12 kB / 458.5 MB, free: 2.594 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003583/0.4521, allocations: 2.191 MB / 460.6 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006738/0.4528, allocations: 439.7 kB / 461.1 MB, free: 500 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003207/0.4531, allocations: 239.8 kB / 461.3 MB, free: 360 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.992e-05/0.4532, allocations: 8.438 kB / 461.3 MB, free: 352 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004917/0.4537, allocations: 332 kB / 461.6 MB, free: 80 kB / 330.7 MB Notification: Performance of pre-optimization done (n=54): time 2.434e-06/0.4537, allocations: 0 / 461.6 MB, free: 80 kB / 330.7 MB Notification: Performance of matching and sorting (n=94): time 0.05946/0.5132, allocations: 13.79 MB / 475.4 MB, free: 3.461 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.5133, allocations: 145.3 kB / 475.6 MB, free: 3.289 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005904/0.5139, allocations: 391.2 kB / 476 MB, free: 2.988 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002319/0.5141, allocations: 29.7 kB / 476 MB, free: 2.953 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.5144, allocations: 365.8 kB / 476.3 MB, free: 2.688 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/0.5147, allocations: 298.5 kB / 476.6 MB, free: 2.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.627e-05/0.5147, allocations: 0 / 476.6 MB, free: 2.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.5149, allocations: 384.4 kB / 477 MB, free: 2.074 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006598/0.5156, allocations: 455.9 kB / 477.5 MB, free: 1.836 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007528/0.5163, allocations: 0.6436 MB / 478.1 MB, free: 1.344 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001748/0.5181, allocations: 0.6891 MB / 478.8 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.5181, allocations: 0 / 478.8 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02055/0.5387, allocations: 4.872 MB / 483.7 MB, free: 12.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.674e-05/0.5388, allocations: 66.91 kB / 483.7 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.5388, allocations: 4 kB / 483.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02205/0.5609, allocations: 4.792 MB / 488.5 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000774/0.5617, allocations: 175.7 kB / 488.7 MB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005843/0.5676, allocations: 3.067 MB / 491.8 MB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.5693, allocations: 215.9 kB / 492 MB, free: 4.211 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.5695, allocations: 47.97 kB / 492 MB, free: 4.164 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: T1.vcb:DUMMY_STATE(unit = "V" ) "Collector-base voltage" type: Real T2.vcb:DUMMY_STATE(unit = "V" ) "Collector-base voltage" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.T2.vcb:DUMMY_DER(fixed = false ) "Collector-base voltage" type: Real $DER.T1.veb:DUMMY_DER(fixed = false ) "Emitter-base voltage" type: Real $DER.T1.vcb:DUMMY_DER(fixed = false ) "Collector-base voltage" type: Real $DER.T2.T_heatPort:DUMMY_DER(fixed = false ) "Temperature of heatPort" type: Real $DER.T1.T_heatPort:DUMMY_DER(fixed = false ) "Temperature of heatPort" type: Real 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.0004071/0.5699, allocations: 130.7 kB / 492.1 MB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.5701, allocations: 79.11 kB / 492.2 MB, free: 3.949 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0199/0.59, allocations: 4.782 MB / 497 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/0.59, allocations: 8 kB / 497 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.5901, allocations: 3.953 kB / 497 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-05/0.5901, allocations: 3.984 kB / 497 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.5915, allocations: 1.002 MB / 498 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.5915, allocations: 7.953 kB / 498 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005786/0.5921, allocations: 127.8 kB / 498.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.022/0.6141, allocations: 4.8 MB / 0.4912 GB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002265/0.6144, allocations: 15.98 kB / 0.4912 GB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005332/0.6198, allocations: 3.076 MB / 0.4942 GB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.6198, allocations: 3.984 kB / 0.4942 GB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02165/0.6414, allocations: 5.409 MB / 0.4995 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003011/0.6418, allocations: 140.3 kB / 0.4996 GB, free: 404 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002198/0.642, allocations: 4 kB / 0.4996 GB, free: 400 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/0.6435, allocations: 199.8 kB / 0.4998 GB, free: 200 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002479/0.6438, allocations: 96.62 kB / 0.4999 GB, free: 104 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.511e-05/0.6439, allocations: 35.97 kB / 0.4999 GB, free: 68 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003924/0.6443, allocations: 299 kB / 0.5002 GB, free: 15.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6443, allocations: 0 / 0.5002 GB, free: 15.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007828/0.6451, allocations: 228 kB / 0.5004 GB, free: 15.55 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.0003197/0.6454, allocations: 142.7 kB / 0.5006 GB, free: 15.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003261/0.6487, allocations: 1.452 MB / 0.502 GB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.6487, allocations: 4.062 kB / 0.502 GB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002172/0.6509, allocations: 0.7979 MB / 0.5028 GB, free: 13.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006539/0.6515, allocations: 82.03 kB / 0.5028 GB, free: 13.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.6539, allocations: 1.161 MB / 0.504 GB, free: 11.86 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/0.6544, allocations: 0.9584 MB / 0.5049 GB, free: 10.87 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003176/0.6547, allocations: 61.91 kB / 0.505 GB, free: 10.81 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.6549, allocations: 27.44 kB / 0.505 GB, free: 10.78 MB / 394.7 MB Notification: Performance of SimCode: time 6.22e-07/0.6549, allocations: 0 / 0.505 GB, free: 10.78 MB / 394.7 MB Notification: Performance of Templates: time 0.03212/0.687, allocations: 19.58 MB / 0.5241 GB, free: 7.18 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