Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001591/0.001591, allocations: 200.7 kB / 18.11 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.61/1.61, allocations: 226.5 MB / 245.4 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009064/0.0009063, allocations: 98.47 kB / 297.5 MB, free: 6.867 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003031/0.0003032, allocations: 8 kB / 358.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2619, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1056/0.3676, allocations: 83.82 MB / 493.2 MB, free: 7.676 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.3679, allocations: 71.97 kB / 493.3 MB, free: 7.605 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03777/0.4057, allocations: 12.81 MB / 0.4942 GB, free: 10.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.4057, allocations: 4 kB / 0.4942 GB, free: 10.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.886e-05/0.4058, allocations: 16 kB / 0.4942 GB, free: 10.73 MB / 378.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.00299/0.4088, allocations: 1.155 MB / 0.4954 GB, free: 9.504 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.4089, allocations: 8.031 kB / 0.4954 GB, free: 9.496 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002852/0.4092, allocations: 95.81 kB / 0.4955 GB, free: 9.402 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.4103, allocations: 0.5278 MB / 0.496 GB, free: 8.836 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.615e-05/0.4104, allocations: 49.69 kB / 0.496 GB, free: 8.785 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.4105, allocations: 64.31 kB / 0.4961 GB, free: 8.723 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.412, allocations: 0.6824 MB / 0.4967 GB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.4121, allocations: 192 / 0.4967 GB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.722e-05/0.4122, allocations: 31.94 kB / 0.4968 GB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.4122, allocations: 16 kB / 0.4968 GB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/0.4139, allocations: 0.7546 MB / 0.4975 GB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004579/0.4185, allocations: 2.337 MB / 0.4998 GB, free: 4.766 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.42, allocations: 0.6373 MB / 0.5004 GB, free: 4.117 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007479/0.4208, allocations: 357.9 kB / 0.5008 GB, free: 3.762 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.435e-05/0.4209, allocations: 12.42 kB / 0.5008 GB, free: 3.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/0.4219, allocations: 453.4 kB / 0.5012 GB, free: 3.285 MB / 378.7 MB Notification: Performance of pre-optimization done (n=54): time 2.846e-06/0.4219, allocations: 0 / 0.5012 GB, free: 3.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=94): time 0.343/0.7649, allocations: 16.55 MB / 0.5174 GB, free: 91.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.681e-05/0.765, allocations: 148.7 kB / 0.5175 GB, free: 91.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007227/0.7657, allocations: 0.5131 MB / 0.518 GB, free: 91.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002313/0.766, allocations: 46.11 kB / 0.5181 GB, free: 91.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/0.7663, allocations: 392.9 kB / 0.5184 GB, free: 90.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003006/0.7666, allocations: 314.3 kB / 0.5187 GB, free: 90.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.928e-05/0.7667, allocations: 17.56 kB / 0.5188 GB, free: 90.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.7669, allocations: 388.6 kB / 0.5191 GB, free: 90.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/0.7687, allocations: 0.7923 MB / 0.5199 GB, free: 90.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001888/0.7706, allocations: 1.029 MB / 0.5209 GB, free: 89.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003612/0.7742, allocations: 1.841 MB / 0.5227 GB, free: 87.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.7743, allocations: 4 kB / 0.5227 GB, free: 87.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02096/0.7952, allocations: 5.635 MB / 0.5282 GB, free: 82.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.994e-05/0.7954, allocations: 67.39 kB / 0.5283 GB, free: 82.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/0.7954, allocations: 4 kB / 0.5283 GB, free: 82.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03074/0.8262, allocations: 7.322 MB / 0.5354 GB, free: 74.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007218/0.8269, allocations: 187.7 kB / 0.5356 GB, free: 74.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004913/0.8319, allocations: 3.083 MB / 0.5386 GB, free: 71.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.8335, allocations: 223.8 kB / 0.5388 GB, free: 71.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.8337, allocations: 47.97 kB / 0.5389 GB, free: 71.11 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.0004256/0.8341, allocations: 228.1 kB / 0.5391 GB, free: 70.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.8342, allocations: 83.06 kB / 0.5392 GB, free: 70.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02008/0.8543, allocations: 5.468 MB / 0.5445 GB, free: 65.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-05/0.8544, allocations: 12 kB / 0.5445 GB, free: 65.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.8544, allocations: 0 / 0.5445 GB, free: 65.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.661e-05/0.8544, allocations: 5.109 kB / 0.5445 GB, free: 65.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.8561, allocations: 1.102 MB / 0.5456 GB, free: 64.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.8561, allocations: 4.656 kB / 0.5456 GB, free: 64.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005128/0.8566, allocations: 131.8 kB / 0.5457 GB, free: 64.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03024/0.8868, allocations: 7.285 MB / 0.5529 GB, free: 56.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003029/0.8872, allocations: 24.92 kB / 0.5529 GB, free: 56.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006841/0.894, allocations: 3.237 MB / 0.556 GB, free: 53.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.8941, allocations: 3.719 kB / 0.556 GB, free: 53.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03182/0.9259, allocations: 6.43 MB / 0.5623 GB, free: 46.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003971/0.9264, allocations: 144.2 kB / 0.5625 GB, free: 46.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/0.9266, allocations: 24 kB / 0.5625 GB, free: 46.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001749/0.9284, allocations: 211.7 kB / 0.5627 GB, free: 46.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003536/0.9287, allocations: 100.8 kB / 0.5628 GB, free: 46.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/0.9289, allocations: 35.97 kB / 0.5628 GB, free: 46.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005306/0.9294, allocations: 350.8 kB / 0.5632 GB, free: 46.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.9294, allocations: 1.219 kB / 0.5632 GB, free: 46.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001117/0.9306, allocations: 266.8 kB / 0.5634 GB, free: 45.87 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.0004017/0.931, allocations: 141.2 kB / 0.5635 GB, free: 45.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007519/0.9385, allocations: 2.197 MB / 0.5657 GB, free: 43.51 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/0.9386, allocations: 0 / 0.5657 GB, free: 43.51 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005485/0.9441, allocations: 1.299 MB / 0.567 GB, free: 42.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.9453, allocations: 125.5 kB / 0.5671 GB, free: 42.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004946/0.9503, allocations: 2.09 MB / 0.5691 GB, free: 40 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.9507, allocations: 0.9548 MB / 0.57 GB, free: 39.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000471/0.9512, allocations: 60.58 kB / 0.5701 GB, free: 38.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.9513, allocations: 35.44 kB / 0.5701 GB, free: 38.92 MB / 378.7 MB Notification: Performance of SimCode: time 1.183e-06/0.9514, allocations: 0 / 0.5701 GB, free: 38.92 MB / 378.7 MB Notification: Performance of Templates: time 0.03692/0.9883, allocations: 19.98 MB / 0.5897 GB, free: 19.09 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches