Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.001396/0.001396, allocations: 84.34 kB / 20.95 MB, free: 3.453 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: 165.3 kB / 24.27 MB, free: 144 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.48/1.48, allocations: 177.1 MB / 204.6 MB, free: 5.582 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.378/0.378, allocations: 32.8 MB / 293.9 MB, free: 1.203 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.907e-06/8.907e-06, allocations: 0 / 375.3 MB, free: 4.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.728e-05/3.619e-05, allocations: 2.312 kB / 375.3 MB, free: 4.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003386/0.003422, allocations: 1.716 MB / 377.1 MB, free: 3.152 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.005476, allocations: 0.9703 MB / 378 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.495e-05/0.005561, allocations: 3.938 kB / 378 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003213/0.005882, allocations: 51.69 kB / 378.1 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005944/0.006477, allocations: 99.53 kB / 378.2 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.006765, allocations: 71.67 kB / 378.3 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.00701, allocations: 111.6 kB / 378.4 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.067e-05/0.007101, allocations: 4 kB / 378.4 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.007239, allocations: 59.81 kB / 378.4 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.66e-05/0.007326, allocations: 23.92 kB / 378.4 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.007348, allocations: 4 kB / 378.4 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.007471, allocations: 51.84 kB / 378.5 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.719e-05/0.007538, allocations: 23.92 kB / 378.5 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.313e-05/0.007592, allocations: 19.92 kB / 378.5 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.007843, allocations: 119.6 kB / 378.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.007846, allocations: 4 kB / 378.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.007847, allocations: 0 / 378.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.007852, allocations: 0 / 378.7 MB, free: 1.539 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.0006192/0.008471, allocations: 349.5 kB / 379 MB, free: 1.168 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.008508, allocations: 8.031 kB / 379 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.433e-05/0.008583, allocations: 20.83 kB / 379 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.008904, allocations: 154 kB / 379.2 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.008925, allocations: 8.375 kB / 379.2 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.008949, allocations: 384 / 379.2 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.009122, allocations: 58.23 kB / 379.2 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.009136, allocations: 7.938 kB / 379.3 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.009148, allocations: 0 / 379.3 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.009153, allocations: 0 / 379.3 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.689e-05/0.00924, allocations: 19.98 kB / 379.3 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.009656, allocations: 232.6 kB / 379.5 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.009867, allocations: 62.55 kB / 379.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.113e-05/0.009938, allocations: 28.78 kB / 379.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.009953, allocations: 0 / 379.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.01012, allocations: 71.39 kB / 379.7 MB, free: 436 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.01012, allocations: 0 / 379.7 MB, free: 436 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000632/0.01076, allocations: 185.3 kB / 379.8 MB, free: 244 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.01081, allocations: 55.41 kB / 379.9 MB, free: 176 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.01108, allocations: 215 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.0111, allocations: 25.7 kB / 380.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.035e-05/0.01119, allocations: 112 kB / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.01123, allocations: 23.81 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.01128, allocations: 25.7 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.01147, allocations: 326.8 kB / 380.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.746e-05/0.01154, allocations: 20 kB / 380.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.214e-05/0.01162, allocations: 41.69 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.01176, allocations: 57.66 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.01176, allocations: 0 / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002263/0.01199, allocations: 109.5 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.01201, allocations: 8 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.361e-06/0.01201, allocations: 0 / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.01203, allocations: 384 / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.01213, allocations: 23.95 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.01214, allocations: 8 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.335e-05/0.0122, allocations: 4 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.01221, allocations: 4 kB / 380.9 MB, free: 15.14 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.0001359/0.01234, allocations: 145.2 kB / 381 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.01237, allocations: 11.91 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003074/0.01268, allocations: 127.2 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.01268, allocations: 0 / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.01269, allocations: 0 / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.01269, allocations: 0 / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005327/0.01322, allocations: 362.9 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.01323, allocations: 0 / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.099e-05/0.01328, allocations: 15.98 kB / 381.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.01328, allocations: 4 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.01329, allocations: 0 / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.01329, allocations: 3.938 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.0133, allocations: 4 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.01362, allocations: 212.2 kB / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.003e-05/0.01365, allocations: 15.89 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.01368, allocations: 4.031 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.097e-05/0.01376, allocations: 8 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.01381, allocations: 11.92 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.01382, allocations: 4 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001787/0.014, allocations: 163.2 kB / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.014, allocations: 0 / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002831/0.01429, allocations: 23.98 kB / 382 MB, free: 13.97 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.00236/0.01665, allocations: 489.7 kB / 382.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002655/0.01691, allocations: 63.91 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01691, allocations: 0 / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.669e-05/0.01701, allocations: 23.94 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.01746, allocations: 43.83 kB / 382.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000773/0.01823, allocations: 249.5 kB / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.01837, allocations: 92.8 kB / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.722e-05/0.01844, allocations: 21.28 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.187e-05/0.0185, allocations: 20.48 kB / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.0185, allocations: 0 / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of Templates: time 0.005846/0.02435, allocations: 1.869 MB / 384.8 MB, free: 11.3 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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: 4.792102018021978]