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.001193/0.001193, allocations: 196.6 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008083/0.0008084, allocations: 92.73 kB / 292.1 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.801e-05/2.803e-05, allocations: 4 kB / 350.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1252, allocations: 51.48 MB / 402 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3857/0.5109, allocations: 83.77 MB / 485.8 MB, free: 5.742 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/0.5112, allocations: 74.73 kB / 485.9 MB, free: 5.711 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03394/0.5452, allocations: 12.78 MB / 498.6 MB, free: 10.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5452, allocations: 0 / 498.6 MB, free: 10.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.894e-05/0.5453, allocations: 16 kB / 498.7 MB, free: 10.59 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.002394/0.5477, allocations: 1.084 MB / 499.7 MB, free: 9.445 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.5477, allocations: 8.031 kB / 499.8 MB, free: 9.438 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.5479, allocations: 91.83 kB / 499.8 MB, free: 9.348 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008452/0.5488, allocations: 0.4994 MB / 0.4886 GB, free: 8.809 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.051e-05/0.5488, allocations: 45.31 kB / 0.4887 GB, free: 8.766 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.5489, allocations: 68 kB / 0.4887 GB, free: 8.699 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009765/0.5499, allocations: 0.5688 MB / 0.4893 GB, free: 8.125 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.5499, allocations: 0 / 0.4893 GB, free: 8.125 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-05/0.55, allocations: 24 kB / 0.4893 GB, free: 8.102 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.55, allocations: 16 kB / 0.4893 GB, free: 8.086 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000947/0.551, allocations: 0.5402 MB / 0.4898 GB, free: 7.543 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003982/0.555, allocations: 2.346 MB / 0.4921 GB, free: 5.074 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008418/0.5558, allocations: 468.9 kB / 0.4926 GB, free: 4.605 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004169/0.5563, allocations: 254.2 kB / 0.4928 GB, free: 4.355 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.947e-05/0.5564, allocations: 12.39 kB / 0.4928 GB, free: 4.344 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006172/0.557, allocations: 349.6 kB / 0.4932 GB, free: 3.977 MB / 362.7 MB Notification: Performance of pre-optimization done (n=54): time 2.094e-06/0.557, allocations: 0 / 0.4932 GB, free: 3.977 MB / 362.7 MB Notification: Performance of matching and sorting (n=94): time 0.05567/0.6127, allocations: 13.48 MB / 0.5063 GB, free: 6.414 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.587e-05/0.6128, allocations: 141.3 kB / 0.5065 GB, free: 6.246 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000623/0.6134, allocations: 453 kB / 0.5069 GB, free: 5.805 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001921/0.6136, allocations: 45.7 kB / 0.5069 GB, free: 5.754 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/0.6139, allocations: 403.6 kB / 0.5073 GB, free: 5.348 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002861/0.6142, allocations: 311.5 kB / 0.5076 GB, free: 5.039 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.478e-05/0.6143, allocations: 20 kB / 0.5076 GB, free: 5.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.6144, allocations: 390.7 kB / 0.508 GB, free: 4.629 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008142/0.6153, allocations: 474.3 kB / 0.5085 GB, free: 4.164 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009723/0.6162, allocations: 0.7017 MB / 0.5092 GB, free: 3.371 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008387/0.6171, allocations: 0.547 MB / 0.5097 GB, free: 2.816 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.6171, allocations: 4 kB / 0.5097 GB, free: 2.812 MB / 378.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02012/0.6372, allocations: 4.844 MB / 0.5144 GB, free: 13.94 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.561e-05/0.6374, allocations: 67.39 kB / 0.5145 GB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.6374, allocations: 8.75 kB / 0.5145 GB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03238/0.6698, allocations: 6.941 MB / 0.5213 GB, free: 6.898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007529/0.6706, allocations: 179.7 kB / 0.5214 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005357/0.6759, allocations: 2.833 MB / 0.5242 GB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/0.6778, allocations: 227.8 kB / 0.5244 GB, free: 3.613 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.6779, allocations: 47.97 kB / 0.5245 GB, free: 3.566 MB / 394.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 () * 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.0002916/0.6782, allocations: 156.8 kB / 0.5246 GB, free: 3.406 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.6783, allocations: 79.06 kB / 0.5247 GB, free: 3.328 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0199/0.6983, allocations: 4.701 MB / 0.5293 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/0.6983, allocations: 8 kB / 0.5293 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.6983, allocations: 4 kB / 0.5293 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-05/0.6984, allocations: 3.984 kB / 0.5293 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.7001, allocations: 1.117 MB / 0.5304 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.7002, allocations: 0 / 0.5304 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005908/0.7008, allocations: 123.9 kB / 0.5305 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03195/0.7327, allocations: 6.899 MB / 0.5373 GB, free: 6.398 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002117/0.733, allocations: 31.92 kB / 0.5373 GB, free: 6.367 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005077/0.7381, allocations: 2.83 MB / 0.5401 GB, free: 3.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.7381, allocations: 4 kB / 0.5401 GB, free: 3.477 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02097/0.7591, allocations: 5.329 MB / 0.5453 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003359/0.7595, allocations: 140.2 kB / 0.5454 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.7596, allocations: 19.98 kB / 0.5454 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/0.7611, allocations: 215.8 kB / 0.5456 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002553/0.7613, allocations: 96.62 kB / 0.5457 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.7614, allocations: 31.97 kB / 0.5457 GB, free: 13.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004542/0.7619, allocations: 351.9 kB / 0.5461 GB, free: 13.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.7619, allocations: 0 / 0.5461 GB, free: 13.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007789/0.7627, allocations: 271.9 kB / 0.5463 GB, free: 13 MB / 426.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.0002825/0.763, allocations: 143.2 kB / 0.5465 GB, free: 12.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004242/0.7672, allocations: 1.672 MB / 0.5481 GB, free: 11.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.7673, allocations: 4 kB / 0.5481 GB, free: 11.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003084/0.7704, allocations: 0.9671 MB / 0.5491 GB, free: 10.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005794/0.771, allocations: 118.2 kB / 0.5492 GB, free: 10.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.7736, allocations: 1.219 MB / 0.5504 GB, free: 8.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/0.7741, allocations: 0.9627 MB / 0.5513 GB, free: 7.832 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002859/0.7744, allocations: 58.27 kB / 0.5514 GB, free: 7.773 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.7745, allocations: 31.44 kB / 0.5514 GB, free: 7.742 MB / 426.7 MB Notification: Performance of SimCode: time 1.473e-06/0.7745, allocations: 0 / 0.5514 GB, free: 7.742 MB / 426.7 MB Notification: Performance of Templates: time 0.02796/0.8025, allocations: 20.38 MB / 0.5713 GB, free: 3.551 MB / 442.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/jenkins/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