Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_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.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 181.7 kB / 16.39 MB, free: 5.762 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.388/1.388, allocations: 223.2 MB / 240.3 MB, free: 11.87 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.0009395/0.0009395, allocations: 99 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002574/0.0002574, allocations: 4 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2287, allocations: 50.41 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1053/0.334, allocations: 83.05 MB / 484.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.3343, allocations: 80.52 kB / 484.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03495/0.3693, allocations: 12.76 MB / 497.4 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3693, allocations: 3.938 kB / 497.4 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.358e-05/0.3693, allocations: 12 kB / 497.4 MB, free: 0.5352 MB / 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.002337/0.3717, allocations: 1.151 MB / 498.5 MB, free: 15.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.3717, allocations: 12.03 kB / 498.6 MB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.3719, allocations: 90.88 kB / 498.6 MB, free: 15.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008352/0.3727, allocations: 0.5154 MB / 499.2 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.499e-05/0.3728, allocations: 45.31 kB / 499.2 MB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.3729, allocations: 71.86 kB / 499.3 MB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.3743, allocations: 0.6662 MB / 499.9 MB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.3743, allocations: 0 / 499.9 MB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.471e-05/0.3744, allocations: 28 kB / 500 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.3744, allocations: 19.98 kB / 500 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.376, allocations: 0.7469 MB / 0.489 GB, free: 13.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004135/0.3802, allocations: 2.341 MB / 0.4913 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.3816, allocations: 0.645 MB / 0.4919 GB, free: 9.961 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.937e-05/0.3817, allocations: 12.41 kB / 0.4919 GB, free: 9.949 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009766/0.3827, allocations: 445.5 kB / 0.4924 GB, free: 9.488 MB / 378.7 MB Notification: Performance of pre-optimization done (n=54): time 4.037e-06/0.3827, allocations: 0 / 0.4924 GB, free: 9.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=94): time 0.302/0.6847, allocations: 16.54 MB / 0.5085 GB, free: 95.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.46e-05/0.6848, allocations: 146.5 kB / 0.5086 GB, free: 95.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006232/0.6854, allocations: 465.1 kB / 0.5091 GB, free: 95.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002496/0.6857, allocations: 42.52 kB / 0.5091 GB, free: 95.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003085/0.686, allocations: 391.4 kB / 0.5095 GB, free: 95.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003557/0.6863, allocations: 318.3 kB / 0.5098 GB, free: 95.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.252e-05/0.6864, allocations: 21.72 kB / 0.5098 GB, free: 95.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.6866, allocations: 387.7 kB / 0.5102 GB, free: 94.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00184/0.6885, allocations: 0.7938 MB / 0.511 GB, free: 94.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001792/0.6903, allocations: 1.025 MB / 0.512 GB, free: 94.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001748/0.692, allocations: 0.8789 MB / 0.5128 GB, free: 94.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.6921, allocations: 3.969 kB / 0.5128 GB, free: 94.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02227/0.7143, allocations: 5.631 MB / 0.5183 GB, free: 92.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.5e-05/0.7145, allocations: 59.41 kB / 0.5184 GB, free: 92.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.7145, allocations: 4 kB / 0.5184 GB, free: 92.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03378/0.7483, allocations: 7.329 MB / 0.5255 GB, free: 85.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007455/0.7491, allocations: 181.9 kB / 0.5257 GB, free: 85.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005136/0.7542, allocations: 3.097 MB / 0.5287 GB, free: 82.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/0.7561, allocations: 216.7 kB / 0.529 GB, free: 82.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/0.7563, allocations: 47.97 kB / 0.529 GB, free: 82.36 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.0005219/0.7568, allocations: 221.7 kB / 0.5292 GB, free: 82.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.757, allocations: 86.95 kB / 0.5293 GB, free: 82.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02166/0.7787, allocations: 5.461 MB / 0.5346 GB, free: 76.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-05/0.7788, allocations: 12 kB / 0.5346 GB, free: 76.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.7788, allocations: 0 / 0.5346 GB, free: 76.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.553e-05/0.7788, allocations: 7.969 kB / 0.5346 GB, free: 76.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.7805, allocations: 1.112 MB / 0.5357 GB, free: 75.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/0.7806, allocations: 7.266 kB / 0.5357 GB, free: 75.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005308/0.7811, allocations: 123.9 kB / 0.5359 GB, free: 75.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03307/0.8142, allocations: 7.295 MB / 0.543 GB, free: 68.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003156/0.8145, allocations: 27.97 kB / 0.543 GB, free: 67.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006078/0.8206, allocations: 3.221 MB / 0.5462 GB, free: 64.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.8207, allocations: 0 / 0.5462 GB, free: 64.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02408/0.8447, allocations: 6.428 MB / 0.5524 GB, free: 58.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004296/0.8452, allocations: 152.2 kB / 0.5526 GB, free: 58.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004844/0.8457, allocations: 16 kB / 0.5526 GB, free: 58.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/0.8474, allocations: 211.8 kB / 0.5528 GB, free: 57.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003394/0.8478, allocations: 107.9 kB / 0.5529 GB, free: 57.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/0.8479, allocations: 31.98 kB / 0.5529 GB, free: 57.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005021/0.8484, allocations: 346.8 kB / 0.5533 GB, free: 57.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8484, allocations: 0 / 0.5533 GB, free: 57.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001175/0.8496, allocations: 270.7 kB / 0.5535 GB, free: 57.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.0003898/0.85, allocations: 139.2 kB / 0.5536 GB, free: 56.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005747/0.8558, allocations: 2.189 MB / 0.5558 GB, free: 54.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/0.8559, allocations: 0 / 0.5558 GB, free: 54.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004683/0.8606, allocations: 1.3 MB / 0.5571 GB, free: 53.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.8619, allocations: 126.2 kB / 0.5572 GB, free: 53.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004959/0.8669, allocations: 2.086 MB / 0.5592 GB, free: 51.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/0.8674, allocations: 0.9665 MB / 0.5602 GB, free: 50.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004258/0.8679, allocations: 61.61 kB / 0.5602 GB, free: 50.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.868, allocations: 31.44 kB / 0.5602 GB, free: 50.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.693e-06/0.868, allocations: 0 / 0.5602 GB, free: 50.18 MB / 378.7 MB Notification: Performance of Templates: time 0.03342/0.9014, allocations: 19.87 MB / 0.5796 GB, free: 30.46 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches