Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009053/0.0009053, allocations: 80.8 kB / 21.5 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 174 kB / 24.92 MB, free: 9.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2593/0.2593, allocations: 34.27 MB / 296.1 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 3.938 kB / 325.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.546e-05, allocations: 3.188 kB / 325.3 MB, free: 7.602 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002421/0.002447, allocations: 1.783 MB / 327.1 MB, free: 5.805 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.003754, allocations: 1.01 MB / 328.1 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.915e-05/0.003833, allocations: 0 / 328.1 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000309/0.004142, allocations: 107.6 kB / 328.2 MB, free: 4.684 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003089/0.004451, allocations: 131.4 kB / 328.4 MB, free: 4.555 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.004654, allocations: 79.55 kB / 328.4 MB, free: 4.477 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.004827, allocations: 135.6 kB / 328.6 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.06e-05/0.004907, allocations: 11.98 kB / 328.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.682e-05/0.005004, allocations: 71.8 kB / 328.7 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.306e-05/0.005097, allocations: 55.86 kB / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.005111, allocations: 4 kB / 328.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.005215, allocations: 59.92 kB / 328.8 MB, free: 4.141 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.699e-05/0.005262, allocations: 35.84 kB / 328.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.322e-05/0.005296, allocations: 24.36 kB / 328.8 MB, free: 4.082 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.005458, allocations: 119.5 kB / 329 MB, free: 3.965 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.005461, allocations: 3.984 kB / 329 MB, free: 3.961 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.005462, allocations: 8 kB / 329 MB, free: 3.953 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.085e-06/0.005465, allocations: 0 / 329 MB, free: 3.953 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000355/0.00582, allocations: 345.3 kB / 329.3 MB, free: 3.594 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.005849, allocations: 12.03 kB / 329.3 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.005878, allocations: 12.92 kB / 329.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.006026, allocations: 153.5 kB / 329.5 MB, free: 3.395 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.00604, allocations: 384 / 329.5 MB, free: 3.395 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.006059, allocations: 4.375 kB / 329.5 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.006166, allocations: 69.75 kB / 329.6 MB, free: 3.312 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.006175, allocations: 3.938 kB / 329.6 MB, free: 3.309 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.942e-06/0.006181, allocations: 4 kB / 329.6 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-06/0.006186, allocations: 0 / 329.6 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.478e-05/0.006211, allocations: 11.98 kB / 329.6 MB, free: 3.293 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00021/0.006421, allocations: 181.8 kB / 329.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.00656, allocations: 97.3 kB / 329.8 MB, free: 2.992 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.984e-05/0.00658, allocations: 12.86 kB / 329.9 MB, free: 2.977 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.00659, allocations: 0 / 329.9 MB, free: 2.977 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.861e-05/0.006668, allocations: 74.25 kB / 329.9 MB, free: 2.891 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.006669, allocations: 0 / 329.9 MB, free: 2.891 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003924/0.007062, allocations: 182.5 kB / 330.1 MB, free: 2.707 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.007098, allocations: 51.41 kB / 330.2 MB, free: 2.645 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.007222, allocations: 208.4 kB / 330.4 MB, free: 2.426 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.007238, allocations: 29.7 kB / 330.4 MB, free: 2.391 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.467e-05/0.007272, allocations: 100 kB / 330.5 MB, free: 2.289 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.007303, allocations: 39.67 kB / 330.5 MB, free: 2.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.007335, allocations: 25.7 kB / 330.6 MB, free: 2.219 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.299e-05/0.007418, allocations: 330.8 kB / 330.9 MB, free: 1.887 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.007436, allocations: 10.83 kB / 330.9 MB, free: 1.875 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.699e-05/0.007463, allocations: 33.7 kB / 330.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.169e-05/0.007515, allocations: 57.36 kB / 331 MB, free: 1.773 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.007516, allocations: 0 / 331 MB, free: 1.773 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.352e-05/0.007599, allocations: 77.59 kB / 331 MB, free: 1.691 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.007611, allocations: 8 kB / 331.1 MB, free: 1.684 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.007616, allocations: 3.938 kB / 331.1 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.007628, allocations: 0 / 331.1 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.426e-05/0.007682, allocations: 27.92 kB / 331.1 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.007686, allocations: 240 / 331.1 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.14e-05/0.007718, allocations: 12.03 kB / 331.1 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.007724, allocations: 0 / 331.1 MB, free: 1.641 MB / 298.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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.896e-05/0.007792, allocations: 126.8 kB / 331.2 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.007806, allocations: 11.98 kB / 331.2 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.00792, allocations: 97.12 kB / 331.3 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.007922, allocations: 0 / 331.3 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.007923, allocations: 0 / 331.3 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.007926, allocations: 0 / 331.3 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.00817, allocations: 336.1 kB / 331.7 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.008171, allocations: 4.062 kB / 331.7 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.721e-05/0.008198, allocations: 12 kB / 331.7 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.0082, allocations: 0 / 331.7 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.008207, allocations: 7.984 kB / 331.7 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.008208, allocations: 0 / 331.7 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.008211, allocations: 4 kB / 331.7 MB, free: 1.008 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.00832, allocations: 239.8 kB / 331.9 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.199e-05/0.008332, allocations: 11.91 kB / 331.9 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.008349, allocations: 8 kB / 331.9 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.722e-05/0.008386, allocations: 0 / 331.9 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.372e-05/0.00841, allocations: 11.98 kB / 332 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.008421, allocations: 7.938 kB / 332 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.219e-05/0.008473, allocations: 76.62 kB / 332 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008473, allocations: 0 / 332 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001496/0.008623, allocations: 27.94 kB / 332.1 MB, free: 0.6055 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001263/0.009886, allocations: 0.6465 MB / 332.7 MB, free: 304 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001084/0.009994, allocations: 60.53 kB / 332.8 MB, free: 244 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.009999, allocations: 4.062 kB / 332.8 MB, free: 240 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.582e-05/0.01003, allocations: 36.77 kB / 332.8 MB, free: 200 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.01021, allocations: 35.95 kB / 332.8 MB, free: 164 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003403/0.01055, allocations: 261.1 kB / 333.1 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.287e-05/0.01059, allocations: 79.27 kB / 333.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.789e-05/0.01063, allocations: 16.78 kB / 333.2 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.475e-05/0.0107, allocations: 75.34 kB / 333.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of SimCode: time 4.2e-07/0.0107, allocations: 0 / 333.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of Templates: time 0.003778/0.01447, allocations: 2.314 MB / 335.6 MB, free: 13.41 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.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.9734408678486943]