Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009182/0.0009182, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009724/0.0009724, allocations: 163.8 kB / 24.91 MB, free: 8.262 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9944/0.9944, allocations: 177 MB / 205.2 MB, free: 5.422 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.756e-06/2.756e-06, allocations: 0 / 273.4 MB, free: 1.141 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.545e-05/3.82e-05, allocations: 2.312 kB / 273.4 MB, free: 1.137 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.004453/0.004491, allocations: 1.781 MB / 275.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000544/0.005035, allocations: 163.3 kB / 275.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.00514, allocations: 3.938 kB / 275.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.397e-05/0.005194, allocations: 7.938 kB / 275.4 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.005364, allocations: 15.86 kB / 275.4 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.005661, allocations: 51.77 kB / 275.5 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.005799, allocations: 55.83 kB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.005906, allocations: 23.98 kB / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.703e-05/0.005983, allocations: 27.91 kB / 275.6 MB, free: 15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.773e-05/0.006051, allocations: 23.91 kB / 275.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.006075, allocations: 4 kB / 275.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.281e-05/0.006088, allocations: 4 kB / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.61e-05/0.006134, allocations: 11.94 kB / 275.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.006168, allocations: 23.91 kB / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.00631, allocations: 47.77 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.006315, allocations: 0 / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.006316, allocations: 4 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.006321, allocations: 3.938 kB / 275.7 MB, free: 14.88 MB / 266.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.0004316/0.006753, allocations: 296.5 kB / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.006799, allocations: 11.98 kB / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.006842, allocations: 12.92 kB / 276 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.007049, allocations: 129.7 kB / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.007066, allocations: 8.375 kB / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.007077, allocations: 4.375 kB / 276.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.007373, allocations: 151 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.007383, allocations: 192 / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.007396, allocations: 8.375 kB / 276.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.007403, allocations: 384 / 276.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.602e-05/0.007459, allocations: 31.84 kB / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.007793, allocations: 237.3 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.007984, allocations: 91.7 kB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.247e-05/0.008036, allocations: 34.61 kB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.008056, allocations: 7.938 kB / 276.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.008091, allocations: 42.5 kB / 276.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.008092, allocations: 0 / 276.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002158/0.008308, allocations: 77.69 kB / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.787e-05/0.008386, allocations: 114.8 kB / 276.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.008502, allocations: 141.4 kB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.008517, allocations: 29.7 kB / 277.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.314e-05/0.00857, allocations: 88.34 kB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.008594, allocations: 15.94 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.008634, allocations: 13.72 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.008758, allocations: 314.8 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.136e-06/0.008767, allocations: 0 / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.877e-05/0.008785, allocations: 13.72 kB / 277.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.974e-05/0.008825, allocations: 21.7 kB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.008827, allocations: 0 / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.968e-05/0.008907, allocations: 49.72 kB / 277.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.008925, allocations: 4 kB / 277.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.008931, allocations: 0 / 277.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.008948, allocations: 3.938 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.493e-05/0.008993, allocations: 7.984 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.008995, allocations: 320 / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.008e-05/0.009025, allocations: 4 kB / 277.6 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.009035, allocations: 0 / 277.6 MB, free: 12.72 MB / 266.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 7.914e-05/0.009114, allocations: 112.7 kB / 277.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.009215, allocations: 61.61 kB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.6e-05/0.009251, allocations: 16.8 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.009258, allocations: 7.938 kB / 277.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.009261, allocations: 0 / 277.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.009265, allocations: 0 / 277.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.009535, allocations: 85.81 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.009538, allocations: 0 / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.165e-05/0.009609, allocations: 19.98 kB / 277.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.009613, allocations: 0 / 277.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.009622, allocations: 4 kB / 277.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.009626, allocations: 3.938 kB / 277.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.009628, allocations: 3.938 kB / 277.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.009778, allocations: 223.7 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.009825, allocations: 23.89 kB / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.009841, allocations: 4 kB / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.009991, allocations: 4 kB / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.01002, allocations: 3.938 kB / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.01003, allocations: 8 kB / 278.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.776e-05/0.01007, allocations: 27.8 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01007, allocations: 0 / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003841/0.01045, allocations: 4 kB / 278.2 MB, free: 12.07 MB / 266.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 0.0001214/0.01057, allocations: 92.38 kB / 278.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.936e-05/0.01065, allocations: 20.8 kB / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.01066, allocations: 4 kB / 278.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.867e-05/0.01068, allocations: 12.84 kB / 278.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.01118, allocations: 30.27 kB / 278.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004102/0.01159, allocations: 199.3 kB / 278.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.465e-05/0.01165, allocations: 67.34 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.63e-05/0.01168, allocations: 4.25 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.165e-05/0.01174, allocations: 55.38 kB / 278.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of SimCode: time 1.212e-06/0.01174, allocations: 0 / 278.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of Templates: time 0.003908/0.01565, allocations: 0.7158 MB / 279.4 MB, free: 10.81 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.5785535303875804]