Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 145.2 kB / 25.59 MB, free: 8.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9071/0.9071, allocations: 173.4 MB / 202.3 MB, free: 8.273 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 269.2 MB, free: 9.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144e-05/1.288e-05, allocations: 2.312 kB / 269.2 MB, free: 9.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.00205/0.002063, allocations: 1.721 MB / 270.9 MB, free: 8.047 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003409/0.002404, allocations: 175.2 kB / 271.1 MB, free: 7.875 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.347e-05/0.002488, allocations: 5.969 kB / 271.1 MB, free: 7.871 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.071e-05/0.002538, allocations: 11.86 kB / 271.1 MB, free: 7.859 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.002665, allocations: 7.922 kB / 271.1 MB, free: 7.852 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.002866, allocations: 47.83 kB / 271.2 MB, free: 7.805 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.46e-05/0.00296, allocations: 55.78 kB / 271.2 MB, free: 7.75 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.904e-05/0.00305, allocations: 21.83 kB / 271.3 MB, free: 7.73 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.755e-05/0.003097, allocations: 27.97 kB / 271.3 MB, free: 7.703 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.124e-05/0.003138, allocations: 19.91 kB / 271.3 MB, free: 7.684 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.003155, allocations: 4 kB / 271.3 MB, free: 7.68 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.846e-06/0.003164, allocations: 4 kB / 271.3 MB, free: 7.676 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.231e-05/0.003206, allocations: 21.45 kB / 271.3 MB, free: 7.656 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.148e-05/0.003228, allocations: 15.92 kB / 271.3 MB, free: 7.641 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.003331, allocations: 59.64 kB / 271.4 MB, free: 7.582 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.003333, allocations: 0 / 271.4 MB, free: 7.582 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003333, allocations: 0.9688 kB / 271.4 MB, free: 7.582 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.003338, allocations: 0 / 271.4 MB, free: 7.582 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003588/0.003696, allocations: 414.7 kB / 271.8 MB, free: 7.141 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.003732, allocations: 12.03 kB / 271.8 MB, free: 7.129 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.003769, allocations: 16.84 kB / 271.8 MB, free: 7.113 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.003909, allocations: 140.4 kB / 272 MB, free: 6.949 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.003918, allocations: 8.375 kB / 272 MB, free: 6.941 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.003927, allocations: 9.219 kB / 272 MB, free: 6.934 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.004125, allocations: 163.5 kB / 272.1 MB, free: 6.746 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/0.004132, allocations: 192 / 272.1 MB, free: 6.746 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.00414, allocations: 4.375 kB / 272.2 MB, free: 6.742 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.004145, allocations: 384 / 272.2 MB, free: 6.742 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.086e-05/0.004175, allocations: 29.12 kB / 272.2 MB, free: 6.715 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002923/0.004468, allocations: 386.9 kB / 272.6 MB, free: 6.301 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.004642, allocations: 117.8 kB / 272.7 MB, free: 6.148 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.742e-05/0.004679, allocations: 43.7 kB / 272.7 MB, free: 6.094 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.004695, allocations: 4 kB / 272.7 MB, free: 6.09 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.004715, allocations: 37.89 kB / 272.8 MB, free: 6.043 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.004716, allocations: 4 kB / 272.8 MB, free: 6.039 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001564/0.004872, allocations: 101.5 kB / 272.9 MB, free: 5.934 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.004919, allocations: 106.8 kB / 273 MB, free: 5.805 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.031e-05/0.004999, allocations: 192.1 kB / 273.2 MB, free: 5.602 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.005009, allocations: 29.7 kB / 273.2 MB, free: 5.566 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.524e-05/0.005055, allocations: 134.9 kB / 273.3 MB, free: 5.43 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.149e-05/0.005066, allocations: 3.953 kB / 273.3 MB, free: 5.426 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.005234, allocations: 27.36 kB / 273.3 MB, free: 5.391 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.005335, allocations: 492.1 kB / 273.8 MB, free: 4.898 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.041e-06/0.005341, allocations: 256 / 273.8 MB, free: 4.898 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.553e-05/0.005356, allocations: 27.36 kB / 273.9 MB, free: 4.863 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.22e-05/0.005379, allocations: 23.31 kB / 273.9 MB, free: 4.832 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.00538, allocations: 0 / 273.9 MB, free: 4.832 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.929e-05/0.005429, allocations: 53.58 kB / 273.9 MB, free: 4.773 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.00544, allocations: 4 kB / 273.9 MB, free: 4.77 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.005443, allocations: 0 / 273.9 MB, free: 4.77 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.005451, allocations: 3.938 kB / 273.9 MB, free: 4.766 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.725e-05/0.005479, allocations: 8.109 kB / 273.9 MB, free: 4.758 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.005481, allocations: 8 kB / 274 MB, free: 4.75 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.354e-05/0.005495, allocations: 0 / 274 MB, free: 4.75 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-06/0.005498, allocations: 0 / 274 MB, free: 4.75 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.409e-05/0.005562, allocations: 160.6 kB / 274.1 MB, free: 4.582 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.476e-05/0.005627, allocations: 69.89 kB / 274.2 MB, free: 4.508 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.956e-05/0.005657, allocations: 12.78 kB / 274.2 MB, free: 4.492 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.00566, allocations: 7.875 kB / 274.2 MB, free: 4.484 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.005662, allocations: 0 / 274.2 MB, free: 4.484 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.005668, allocations: 7.984 kB / 274.2 MB, free: 4.477 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.005791, allocations: 113.2 kB / 274.3 MB, free: 4.34 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.005792, allocations: 4 kB / 274.3 MB, free: 4.336 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.715e-05/0.005829, allocations: 16 kB / 274.3 MB, free: 4.32 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.00583, allocations: 0 / 274.3 MB, free: 4.32 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-06/0.005837, allocations: 11.98 kB / 274.3 MB, free: 4.309 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.005838, allocations: 0 / 274.3 MB, free: 4.309 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.005839, allocations: 80 / 274.3 MB, free: 4.309 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.005944, allocations: 322.7 kB / 274.7 MB, free: 3.969 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.79e-05/0.005972, allocations: 23.83 kB / 274.7 MB, free: 3.945 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.005982, allocations: 8 kB / 274.7 MB, free: 3.938 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.817e-05/0.00603, allocations: 0 / 274.7 MB, free: 3.938 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/0.006053, allocations: 15.95 kB / 274.7 MB, free: 3.922 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.006056, allocations: 0 / 274.7 MB, free: 3.922 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.405e-05/0.0061, allocations: 145.8 kB / 274.8 MB, free: 3.781 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0061, allocations: 0 / 274.8 MB, free: 3.781 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001621/0.006263, allocations: 8 kB / 274.9 MB, free: 3.773 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.443e-05/0.006327, allocations: 95.25 kB / 275 MB, free: 3.672 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.765e-05/0.006395, allocations: 31.61 kB / 275 MB, free: 3.637 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.62e-07/0.006395, allocations: 0 / 275 MB, free: 3.637 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.233e-05/0.006408, allocations: 19.75 kB / 275 MB, free: 3.613 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.006688, allocations: 26.27 kB / 275 MB, free: 3.586 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.006938, allocations: 215.8 kB / 275.2 MB, free: 3.332 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.977e-05/0.006978, allocations: 63.34 kB / 275.3 MB, free: 3.25 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.627e-05/0.006994, allocations: 4 kB / 275.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.007041, allocations: 82.19 kB / 275.4 MB, free: 3.164 MB / 250.7 MB Notification: Performance of SimCode: time 4.3e-07/0.007041, allocations: 0 / 275.4 MB, free: 3.164 MB / 250.7 MB Notification: Performance of Templates: time 0.002169/0.00921, allocations: 0.7399 MB / 276.1 MB, free: 2.438 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.547675729263574]