Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.00104/0.00104, allocations: 80.92 kB / 21.49 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.001311/0.001311, allocations: 169.1 kB / 24.91 MB, free: 8.734 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.091/1.091, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2631/0.2631, allocations: 32.81 MB / 294.6 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 323.4 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.529e-05, allocations: 3.188 kB / 323.4 MB, free: 9.539 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002821/0.002846, allocations: 1.802 MB / 325.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.004261, allocations: 1.001 MB / 326.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.264e-05/0.004344, allocations: 0 / 326.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003004/0.004644, allocations: 47.64 kB / 326.2 MB, free: 6.668 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003341/0.004978, allocations: 99.53 kB / 326.3 MB, free: 6.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.005195, allocations: 75.67 kB / 326.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.005385, allocations: 112.2 kB / 326.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.297e-05/0.005468, allocations: 8.75 kB / 326.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.883e-05/0.005557, allocations: 51.83 kB / 326.6 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.404e-05/0.005631, allocations: 31.84 kB / 326.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.005648, allocations: 4 kB / 326.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.211e-05/0.00573, allocations: 43.92 kB / 326.6 MB, free: 6.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.619e-05/0.005776, allocations: 27.91 kB / 326.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.005812, allocations: 19.94 kB / 326.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.006007, allocations: 107.6 kB / 326.8 MB, free: 6.098 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.006009, allocations: 0 / 326.8 MB, free: 6.098 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.00601, allocations: 0 / 326.8 MB, free: 6.098 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.006014, allocations: 0 / 326.8 MB, free: 6.098 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003522/0.006367, allocations: 325.3 kB / 327.1 MB, free: 5.758 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.006398, allocations: 8.031 kB / 327.1 MB, free: 5.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.006429, allocations: 8.938 kB / 327.1 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.006582, allocations: 150.1 kB / 327.3 MB, free: 5.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.006598, allocations: 8.359 kB / 327.3 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.006613, allocations: 384 / 327.3 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.006716, allocations: 69.77 kB / 327.3 MB, free: 5.484 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.006726, allocations: 3.938 kB / 327.3 MB, free: 5.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.934e-06/0.006733, allocations: 0 / 327.3 MB, free: 5.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.006737, allocations: 0 / 327.3 MB, free: 5.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.693e-05/0.006764, allocations: 11.94 kB / 327.4 MB, free: 5.469 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002187/0.006983, allocations: 170 kB / 327.5 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.00722, allocations: 81.3 kB / 327.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.235e-05/0.007242, allocations: 16.84 kB / 327.6 MB, free: 5.176 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.007254, allocations: 4 kB / 327.6 MB, free: 5.172 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.987e-05/0.007343, allocations: 66.16 kB / 327.7 MB, free: 5.094 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.007345, allocations: 0 / 327.7 MB, free: 5.094 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003337/0.007678, allocations: 121.5 kB / 327.8 MB, free: 4.969 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.007706, allocations: 55.34 kB / 327.9 MB, free: 4.902 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.007815, allocations: 180.2 kB / 328 MB, free: 4.711 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.00783, allocations: 37.64 kB / 328.1 MB, free: 4.668 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.148e-05/0.007862, allocations: 96.06 kB / 328.2 MB, free: 4.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.007899, allocations: 27.77 kB / 328.2 MB, free: 4.543 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.00793, allocations: 21.72 kB / 328.2 MB, free: 4.516 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.811e-05/0.008008, allocations: 330.8 kB / 328.5 MB, free: 4.184 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.557e-05/0.008024, allocations: 6.828 kB / 328.5 MB, free: 4.176 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.539e-05/0.008049, allocations: 25.7 kB / 328.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.27e-05/0.008092, allocations: 40.45 kB / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.008093, allocations: 384 / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.959e-05/0.008173, allocations: 72.44 kB / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.008188, allocations: 11.98 kB / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.008192, allocations: 0 / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.008203, allocations: 0 / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.47e-05/0.008268, allocations: 23.97 kB / 328.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.00827, allocations: 4 kB / 328.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.932e-05/0.0083, allocations: 4 kB / 328.7 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.008309, allocations: 15.97 kB / 328.7 MB, free: 3.961 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 (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 prepare postOptimizeDAE: time 6.564e-05/0.008374, allocations: 115.2 kB / 328.8 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.008388, allocations: 11.92 kB / 328.9 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.008496, allocations: 75.08 kB / 328.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.008498, allocations: 4 kB / 328.9 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.0085, allocations: 0 / 328.9 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.008504, allocations: 0 / 328.9 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.008729, allocations: 303.4 kB / 329.2 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.008732, allocations: 0 / 329.2 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.909e-05/0.008761, allocations: 8 kB / 329.2 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.008764, allocations: 0 / 329.2 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.008771, allocations: 4 kB / 329.2 MB, free: 3.406 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.008772, allocations: 0 / 329.2 MB, free: 3.406 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.008775, allocations: 0 / 329.2 MB, free: 3.406 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.008929, allocations: 219 kB / 329.5 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.655e-05/0.008946, allocations: 11.91 kB / 329.5 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.008964, allocations: 4 kB / 329.5 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.397e-05/0.009008, allocations: 4.031 kB / 329.5 MB, free: 3.152 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.009037, allocations: 15.97 kB / 329.5 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.00905, allocations: 4 kB / 329.5 MB, free: 3.133 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.883e-05/0.009099, allocations: 60.62 kB / 329.6 MB, free: 3.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009099, allocations: 0 / 329.6 MB, free: 3.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001623/0.009261, allocations: 31.92 kB / 329.6 MB, free: 3.039 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001339/0.0106, allocations: 0.5741 MB / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001008/0.0107, allocations: 44.78 kB / 330.2 MB, free: 2.723 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.01071, allocations: 0 / 330.2 MB, free: 2.723 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.264e-05/0.01074, allocations: 28.83 kB / 330.2 MB, free: 2.691 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.01094, allocations: 31.91 kB / 330.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003789/0.01132, allocations: 227.7 kB / 330.5 MB, free: 2.406 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.977e-05/0.01137, allocations: 71.33 kB / 330.6 MB, free: 2.316 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.208e-05/0.01141, allocations: 17.27 kB / 330.6 MB, free: 2.297 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.128e-05/0.01148, allocations: 67.36 kB / 330.6 MB, free: 2.23 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01148, allocations: 0 / 330.6 MB, free: 2.23 MB / 298.7 MB Notification: Performance of Templates: time 0.003732/0.01521, allocations: 2.018 MB / 332.7 MB, free: 256 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.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: 3.034698194824159]