Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.001019/0.001019, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001514/0.001514, allocations: 165 kB / 24.56 MB, free: 16 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.9969/0.9969, allocations: 177.1 MB / 205 MB, free: 5.293 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.2772/0.2772, allocations: 34.26 MB / 295.7 MB, free: 0.707 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 378.1 MB, free: 2.574 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.173e-05, allocations: 6.312 kB / 378.1 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.005607/0.005629, allocations: 1.774 MB / 379.9 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.007006, allocations: 1.009 MB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.448e-05/0.00709, allocations: 4 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.007383, allocations: 51.69 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003338/0.01072, allocations: 99.52 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.01092, allocations: 91.53 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.01111, allocations: 131.6 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.556e-05/0.01119, allocations: 8 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.653e-05/0.01129, allocations: 63.81 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.022e-05/0.01138, allocations: 47.89 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.0114, allocations: 8 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.01151, allocations: 63.91 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.532e-05/0.01156, allocations: 35.84 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.01161, allocations: 19.92 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.01181, allocations: 131.4 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.01182, allocations: 4 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.01182, allocations: 0 / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.01182, allocations: 0 / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004776/0.0123, allocations: 467.7 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.01233, allocations: 16.03 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.745e-05/0.01239, allocations: 20.84 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.01257, allocations: 160.8 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.01259, allocations: 8.359 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.01261, allocations: 4.375 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.01275, allocations: 70.92 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.01276, allocations: 7.922 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.01277, allocations: 8 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.01278, allocations: 0 / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.594e-05/0.01284, allocations: 27.91 kB / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.01317, allocations: 319.7 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003217/0.01639, allocations: 82.98 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.365e-05/0.01643, allocations: 23.69 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.01645, allocations: 0 / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001223/0.01657, allocations: 77.03 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.01657, allocations: 3.938 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006061/0.01718, allocations: 265.7 kB / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.01721, allocations: 55.41 kB / 383.3 MB, free: 13.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.01735, allocations: 233.9 kB / 383.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.01737, allocations: 33.7 kB / 383.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.01742, allocations: 151.1 kB / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.01746, allocations: 43.64 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.0175, allocations: 39.36 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.0176, allocations: 0.5 MB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.755e-05/0.01764, allocations: 23.98 kB / 384.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.757e-05/0.01769, allocations: 47.3 kB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.135e-05/0.01777, allocations: 75.11 kB / 384.4 MB, free: 12.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.01777, allocations: 0 / 384.4 MB, free: 12.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001453/0.01792, allocations: 137.5 kB / 384.5 MB, free: 11.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.01793, allocations: 4 kB / 384.5 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.01793, allocations: 3.984 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.01795, allocations: 4 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.167e-05/0.01801, allocations: 23.98 kB / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.01801, allocations: 0 / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.875e-05/0.01804, allocations: 4 kB / 384.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.01805, allocations: 11.98 kB / 384.6 MB, free: 11.89 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 (15): * Single equations (assignments): 15 * 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.45e-05/0.01813, allocations: 171.6 kB / 384.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.01815, allocations: 23.94 kB / 384.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002021/0.01835, allocations: 155.1 kB / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.01835, allocations: 4 kB / 384.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.01836, allocations: 0 / 384.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.01836, allocations: 0 / 384.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000353/0.01871, allocations: 488.5 kB / 385.4 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01871, allocations: 0 / 385.4 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.01876, allocations: 23.98 kB / 385.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.01876, allocations: 0 / 385.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.01877, allocations: 12.06 kB / 385.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01877, allocations: 0 / 385.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.01877, allocations: 3.938 kB / 385.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.01895, allocations: 311 kB / 385.7 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.334e-05/0.01897, allocations: 15.91 kB / 385.8 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.01899, allocations: 7.984 kB / 385.8 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.242e-05/0.01903, allocations: 7.984 kB / 385.8 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.01906, allocations: 15.92 kB / 385.8 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.01908, allocations: 11.98 kB / 385.8 MB, free: 10.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.32e-05/0.01915, allocations: 176.2 kB / 386 MB, free: 10.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01915, allocations: 4 kB / 386 MB, free: 10.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001785/0.01933, allocations: 35.94 kB / 386 MB, free: 10.36 MB / 362.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 (16): * Single equations (assignments): 14 * 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.0009148/0.02024, allocations: 494 kB / 386.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001475/0.02039, allocations: 94.75 kB / 386.6 MB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.02039, allocations: 0 / 386.6 MB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.497e-05/0.02045, allocations: 51.61 kB / 386.6 MB, free: 9.914 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.02067, allocations: 31.97 kB / 386.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003806/0.02105, allocations: 274.2 kB / 386.9 MB, free: 9.578 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.292e-05/0.02109, allocations: 75.83 kB / 387 MB, free: 9.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.891e-05/0.02114, allocations: 33.59 kB / 387 MB, free: 9.445 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.02119, allocations: 24.48 kB / 387.1 MB, free: 9.422 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02119, allocations: 0 / 387.1 MB, free: 9.422 MB / 362.7 MB Notification: Performance of Templates: time 0.004101/0.02529, allocations: 2.549 MB / 389.6 MB, free: 6.902 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.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.188444540835917]