Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.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.HeatingNPN_OrGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001369/0.00137, allocations: 178.4 kB / 8.697 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.575/1.575, allocations: 205.3 MB / 214.4 MB, free: 1.746 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.0008431/0.0008433, allocations: 90.69 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.88e-05/1.882e-05, allocations: 4 kB / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09012/0.09016, allocations: 47.59 MB / 363.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3406/0.4308, allocations: 80.63 MB / 443.7 MB, free: 15.06 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.4311, allocations: 72.7 kB / 443.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03498/0.4661, allocations: 12.01 MB / 455.8 MB, free: 4.941 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.727e-06/0.4661, allocations: 0 / 455.8 MB, free: 4.941 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.036e-05/0.4662, allocations: 19.94 kB / 455.8 MB, free: 4.922 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.002357/0.4685, allocations: 1.037 MB / 456.8 MB, free: 3.875 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.4686, allocations: 16.03 kB / 456.9 MB, free: 3.859 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.4688, allocations: 86.97 kB / 456.9 MB, free: 3.773 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009092/0.4697, allocations: 0.4896 MB / 457.4 MB, free: 3.309 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.4697, allocations: 23.94 kB / 457.5 MB, free: 3.285 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.662e-05/0.4698, allocations: 36.75 kB / 457.5 MB, free: 3.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008196/0.4707, allocations: 0.4935 MB / 458 MB, free: 2.949 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008426/0.4715, allocations: 472.8 kB / 458.5 MB, free: 2.613 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.4716, allocations: 4 kB / 458.5 MB, free: 2.609 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.113e-05/0.4716, allocations: 0 / 458.5 MB, free: 2.609 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.573e-05/0.4716, allocations: 16 kB / 458.5 MB, free: 2.594 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004198/0.4758, allocations: 2.189 MB / 460.7 MB, free: 0.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007392/0.4766, allocations: 447.6 kB / 461.1 MB, free: 500 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003421/0.477, allocations: 243.3 kB / 461.3 MB, free: 356 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.057e-05/0.4771, allocations: 12.42 kB / 461.3 MB, free: 344 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006409/0.4777, allocations: 330 kB / 461.7 MB, free: 72 kB / 330.7 MB Notification: Performance of pre-optimization done (n=54): time 2.625e-06/0.4777, allocations: 0 / 461.7 MB, free: 72 kB / 330.7 MB Notification: Performance of matching and sorting (n=94): time 0.06073/0.5385, allocations: 13.8 MB / 475.5 MB, free: 3.449 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.5386, allocations: 144.4 kB / 475.6 MB, free: 3.281 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005841/0.5392, allocations: 392.4 kB / 476 MB, free: 2.973 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002043/0.5394, allocations: 29.08 kB / 476 MB, free: 2.941 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/0.5397, allocations: 363.8 kB / 476.4 MB, free: 2.676 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002841/0.54, allocations: 299.3 kB / 476.7 MB, free: 2.414 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.59e-05/0.5401, allocations: 0 / 476.7 MB, free: 2.414 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.5402, allocations: 382.2 kB / 477 MB, free: 2.062 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007348/0.541, allocations: 460.1 kB / 477.5 MB, free: 1.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008694/0.5419, allocations: 0.6433 MB / 478.1 MB, free: 1.328 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001846/0.5437, allocations: 0.6877 MB / 478.8 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/0.5437, allocations: 4 kB / 478.8 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.0213/0.565, allocations: 4.875 MB / 483.7 MB, free: 12.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.5652, allocations: 62.28 kB / 483.8 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/0.5653, allocations: 4.047 kB / 483.8 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02267/0.5879, allocations: 4.811 MB / 488.6 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007915/0.5888, allocations: 171.8 kB / 488.7 MB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006815/0.5956, allocations: 3.219 MB / 492 MB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/0.5975, allocations: 207.6 kB / 492.2 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/0.5976, allocations: 48.03 kB / 492.2 MB, free: 3.977 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.T2.vbc:DUMMY_DER(fixed = false ) "Base-collector voltage" type: Real $DER.T1.ibe:DUMMY_DER(fixed = false ) "Base-emitter diode current" type: Real $DER.T1.vbc:DUMMY_DER(fixed = false ) "Base-collector 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.0003921/0.5981, allocations: 130.7 kB / 492.3 MB, free: 3.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.5982, allocations: 71.16 kB / 492.4 MB, free: 3.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02067/0.6189, allocations: 4.785 MB / 497.2 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.552e-05/0.619, allocations: 15.94 kB / 497.2 MB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.619, allocations: 0 / 497.2 MB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.748e-05/0.619, allocations: 8.234 kB / 497.2 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.6206, allocations: 0.998 MB / 498.2 MB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.6207, allocations: 7.938 kB / 498.2 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005831/0.6212, allocations: 123.9 kB / 498.3 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02252/0.6438, allocations: 4.82 MB / 0.4914 GB, free: 8.941 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000281/0.6441, allocations: 11.97 kB / 0.4914 GB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006556/0.6507, allocations: 3.224 MB / 0.4945 GB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.6507, allocations: 0 / 0.4945 GB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02233/0.6731, allocations: 5.42 MB / 0.4998 GB, free: 204 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/0.6734, allocations: 136.2 kB / 0.5 GB, free: 48 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.6735, allocations: 4 kB / 0.5 GB, free: 44 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/0.6751, allocations: 203.8 kB / 0.5002 GB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002698/0.6754, allocations: 100.6 kB / 0.5002 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.333e-05/0.6755, allocations: 35.97 kB / 0.5003 GB, free: 15.71 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000427/0.6759, allocations: 294.9 kB / 0.5006 GB, free: 15.42 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.676, allocations: 3.938 kB / 0.5006 GB, free: 15.42 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000845/0.6768, allocations: 231.9 kB / 0.5008 GB, free: 15.19 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.0003109/0.6771, allocations: 127 kB / 0.5009 GB, free: 15.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004227/0.6814, allocations: 1.599 MB / 0.5025 GB, free: 13.44 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6814, allocations: 1.125 kB / 0.5025 GB, free: 13.44 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003193/0.6846, allocations: 0.9384 MB / 0.5034 GB, free: 12.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007273/0.6853, allocations: 82.05 kB / 0.5035 GB, free: 12.42 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002903/0.6883, allocations: 1.146 MB / 0.5046 GB, free: 11.24 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005332/0.6888, allocations: 0.9622 MB / 0.5055 GB, free: 10.25 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003233/0.6891, allocations: 53.98 kB / 0.5056 GB, free: 10.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.6893, allocations: 31.44 kB / 0.5056 GB, free: 10.17 MB / 394.7 MB Notification: Performance of SimCode: time 7.71e-07/0.6893, allocations: 3.938 kB / 0.5056 GB, free: 10.16 MB / 394.7 MB Notification: Performance of Templates: time 0.0297/0.719, allocations: 19.03 MB / 0.5242 GB, free: 7.105 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingNPN_OrGate/HeatingNPN_OrGate.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches