Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.001398/0.001398, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001536/0.001536, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 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 0.9978/0.9978, allocations: 177.1 MB / 205 MB, free: 5.297 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.2771/0.2771, allocations: 32.81 MB / 294.3 MB, free: 1.223 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 376.1 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.207e-05/3.441e-05, allocations: 6.25 kB / 376.1 MB, free: 4.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003758/0.003792, allocations: 1.762 MB / 377.9 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.00571, allocations: 1.005 MB / 378.9 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.005811, allocations: 7.938 kB / 378.9 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003878/0.006198, allocations: 39.77 kB / 378.9 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.006522, allocations: 91.5 kB / 379 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.006727, allocations: 75.66 kB / 379.1 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.006897, allocations: 119.5 kB / 379.2 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.309e-05/0.00699, allocations: 4 kB / 379.2 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.414e-05/0.007075, allocations: 51.83 kB / 379.3 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.509e-05/0.00715, allocations: 27.91 kB / 379.3 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.007167, allocations: 4 kB / 379.3 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.324e-05/0.00725, allocations: 43.92 kB / 379.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.058e-05/0.007301, allocations: 31.86 kB / 379.4 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.94e-05/0.00734, allocations: 19.92 kB / 379.4 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.007514, allocations: 91.66 kB / 379.5 MB, free: 1.191 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.007517, allocations: 0 / 379.5 MB, free: 1.191 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.007518, allocations: 0 / 379.5 MB, free: 1.191 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.007523, allocations: 0 / 379.5 MB, free: 1.191 MB / 346.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.0004588/0.007981, allocations: 443.9 kB / 379.9 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.008019, allocations: 8.031 kB / 379.9 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.008068, allocations: 12.89 kB / 379.9 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.008248, allocations: 152.2 kB / 380.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.008265, allocations: 8.375 kB / 380.1 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.008291, allocations: 384 / 380.1 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.008417, allocations: 62.94 kB / 380.1 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.008428, allocations: 3.938 kB / 380.1 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.008438, allocations: 3.984 kB / 380.2 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.008447, allocations: 4 kB / 380.2 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.467e-05/0.008482, allocations: 11.98 kB / 380.2 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003057/0.008788, allocations: 283.8 kB / 380.4 MB, free: 116 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.008896, allocations: 51.11 kB / 380.5 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.009992, allocations: 31.61 kB / 380.5 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.01002, allocations: 0 / 380.5 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.0102, allocations: 69 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.764e-06/0.0102, allocations: 0 / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000563/0.01076, allocations: 149.4 kB / 380.7 MB, free: 15.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.01081, allocations: 51.41 kB / 380.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.01102, allocations: 214.5 kB / 381 MB, free: 15.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.01105, allocations: 33.62 kB / 381 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.197e-05/0.01113, allocations: 146.9 kB / 381.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.01117, allocations: 27.78 kB / 381.2 MB, free: 15.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.01122, allocations: 31.38 kB / 381.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.0114, allocations: 0.4923 MB / 381.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.27e-05/0.01145, allocations: 15.98 kB / 381.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-05/0.0115, allocations: 31.36 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.364e-05/0.0116, allocations: 51.31 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.0116, allocations: 4.312 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000201/0.0118, allocations: 93.52 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.01183, allocations: 4 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.01184, allocations: 4 kB / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.01186, allocations: 8.031 kB / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.01198, allocations: 19.92 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.01198, allocations: 0 / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.455e-05/0.01204, allocations: 8 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.01205, allocations: 4 kB / 382 MB, free: 14.47 MB / 362.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 0.0001232/0.01218, allocations: 164.5 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.0122, allocations: 11.95 kB / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002302/0.01243, allocations: 106.5 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.01244, allocations: 3.984 kB / 382.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.01244, allocations: 0 / 382.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.01245, allocations: 4 kB / 382.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000447/0.0129, allocations: 392.9 kB / 382.6 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.0129, allocations: 0 / 382.6 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.65e-05/0.01295, allocations: 8 kB / 382.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.01295, allocations: 0 / 382.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.01296, allocations: 4 kB / 382.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.01296, allocations: 0 / 382.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.01297, allocations: 0 / 382.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.01321, allocations: 255.4 kB / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.01323, allocations: 11.97 kB / 382.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.01325, allocations: 12 kB / 382.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.512e-05/0.01333, allocations: 0 / 382.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.01337, allocations: 11.92 kB / 382.9 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.01339, allocations: 4 kB / 382.9 MB, free: 13.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001067/0.0135, allocations: 167.9 kB / 383.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.0135, allocations: 0 / 383.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003444/0.01384, allocations: 23.94 kB / 383.1 MB, free: 13.23 MB / 362.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.001476/0.01532, allocations: 444 kB / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001809/0.0155, allocations: 55.61 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.0155, allocations: 0 / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.071e-05/0.01556, allocations: 31.67 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.01597, allocations: 38.61 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/0.01648, allocations: 206.7 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.859e-05/0.01654, allocations: 63.34 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.238e-05/0.0166, allocations: 25.06 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.01665, allocations: 16.5 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01665, allocations: 0 / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of Templates: time 0.006145/0.02279, allocations: 1.867 MB / 385.8 MB, free: 10.62 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.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.408318711910397]