Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.001896/0.001896, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001988/0.001988, allocations: 169.6 kB / 24.28 MB, free: 152 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 1.566/1.566, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3587/0.3587, allocations: 32.8 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 179] 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 375.3 MB, free: 4.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/2.764e-05, allocations: 2.312 kB / 375.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003452/0.00348, allocations: 1.735 MB / 377.1 MB, free: 3.156 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.00549, allocations: 0.9937 MB / 378.1 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.32e-05/0.005563, allocations: 4 kB / 378.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003416/0.005904, allocations: 39.7 kB / 378.1 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000351/0.006255, allocations: 95.48 kB / 378.2 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002409/0.006496, allocations: 87.66 kB / 378.3 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.006714, allocations: 107.6 kB / 378.4 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.781e-05/0.006812, allocations: 8 kB / 378.4 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.006939, allocations: 47.84 kB / 378.5 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.002e-05/0.007029, allocations: 35.83 kB / 378.5 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.007052, allocations: 4 kB / 378.5 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.007164, allocations: 43.92 kB / 378.5 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.597e-05/0.00723, allocations: 19.92 kB / 378.6 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.114e-05/0.007281, allocations: 23.86 kB / 378.6 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.007537, allocations: 119.6 kB / 378.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.007541, allocations: 0 / 378.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007542, allocations: 4 kB / 378.7 MB, free: 1.527 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.007547, allocations: 0 / 378.7 MB, free: 1.527 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.0006685/0.008216, allocations: 439.6 kB / 379.1 MB, free: 1.062 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.008261, allocations: 16.02 kB / 379.1 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.759e-05/0.008328, allocations: 24.78 kB / 379.2 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.008607, allocations: 157.1 kB / 379.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.008621, allocations: 384 / 379.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.008643, allocations: 4.375 kB / 379.3 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.008791, allocations: 54.23 kB / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.008807, allocations: 3.938 kB / 379.4 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.008816, allocations: 4 kB / 379.4 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.008821, allocations: 0 / 379.4 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.88e-05/0.0089, allocations: 23.92 kB / 379.4 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.00935, allocations: 299.7 kB / 379.7 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.00955, allocations: 63.17 kB / 379.8 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.387e-05/0.009614, allocations: 23.61 kB / 379.8 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.009633, allocations: 4 kB / 379.8 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.009794, allocations: 72.98 kB / 379.9 MB, free: 236 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.009796, allocations: 0 / 379.9 MB, free: 236 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008551/0.01065, allocations: 185.4 kB / 380 MB, free: 44 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.01072, allocations: 51.41 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.01098, allocations: 246.4 kB / 380.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.01101, allocations: 29.7 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.01114, allocations: 162.7 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.911e-05/0.01119, allocations: 31.78 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.423e-05/0.01124, allocations: 27.38 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002973/0.01154, allocations: 0.5001 MB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.967e-05/0.0116, allocations: 19.98 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.345e-05/0.01168, allocations: 43.36 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.01182, allocations: 75.23 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.01183, allocations: 3.984 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002113/0.01204, allocations: 97.64 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.01206, allocations: 5.875 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.01206, allocations: 0 / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.01208, allocations: 0 / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.948e-05/0.01218, allocations: 23.92 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.01218, allocations: 0 / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.29e-05/0.01222, allocations: 384 / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.01224, allocations: 8 kB / 381.4 MB, free: 14.65 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.0001477/0.01239, allocations: 168.5 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.01242, allocations: 15.91 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002903/0.01271, allocations: 123.2 kB / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.944e-06/0.01272, allocations: 8 kB / 381.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.01272, allocations: 0 / 381.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.01273, allocations: 3.984 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005727/0.0133, allocations: 416.9 kB / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01331, allocations: 0 / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.239e-05/0.01335, allocations: 8 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.01335, allocations: 3.969 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.01337, allocations: 11.98 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.01337, allocations: 3.938 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01337, allocations: 0 / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.0137, allocations: 271.4 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.386e-05/0.01372, allocations: 11.91 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.01374, allocations: 0 / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.71e-05/0.01382, allocations: 11.98 kB / 382.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.01386, allocations: 0 / 382.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.01387, allocations: 7.984 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001605/0.01403, allocations: 184.1 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01403, allocations: 4 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002758/0.01431, allocations: 23.94 kB / 382.6 MB, free: 13.32 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.003404/0.01771, allocations: 483.3 kB / 383.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002447/0.01796, allocations: 75.53 kB / 383.2 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.01796, allocations: 3.938 kB / 383.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.848e-05/0.01806, allocations: 43.61 kB / 383.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.01847, allocations: 27.97 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005611/0.01903, allocations: 226 kB / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.01916, allocations: 100.3 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.518e-05/0.01921, allocations: 21.39 kB / 383.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.777e-05/0.01926, allocations: 16.5 kB / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01926, allocations: 0 / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of Templates: time 0.00603/0.02529, allocations: 1.876 MB / 385.5 MB, free: 10.63 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1531212739646435]