Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.001929/0.001929, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002217/0.002217, allocations: 165.3 kB / 24.27 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.564/1.564, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.3422/0.3422, allocations: 34.27 MB / 295.3 MB, free: 0.6914 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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 377.4 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.347e-05/3.496e-05, allocations: 2.312 kB / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003238/0.003273, allocations: 1.687 MB / 379.1 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.005224, allocations: 0.982 MB / 380 MB, free: 200 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.064e-05/0.005285, allocations: 0 / 380 MB, free: 200 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.005581, allocations: 67.67 kB / 380.1 MB, free: 132 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003388/0.00592, allocations: 115.5 kB / 380.2 MB, free: 16 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.006145, allocations: 79.59 kB / 380.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.006342, allocations: 103.7 kB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.222e-05/0.006374, allocations: 240 / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.006509, allocations: 67.75 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.006619, allocations: 39.89 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.006641, allocations: 4 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.864e-05/0.00673, allocations: 35.92 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.367e-05/0.006793, allocations: 23.86 kB / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.006837, allocations: 15.94 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.007062, allocations: 103.7 kB / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.007064, allocations: 0 / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.007065, allocations: 0 / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.007072, allocations: 4 kB / 380.7 MB, free: 15.55 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006615/0.007733, allocations: 443.5 kB / 381.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.007773, allocations: 12.03 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.751e-05/0.00783, allocations: 8.891 kB / 381.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.008099, allocations: 161.1 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.008113, allocations: 384 / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.008128, allocations: 4.375 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.008266, allocations: 46.23 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.008278, allocations: 7.938 kB / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.008291, allocations: 4 kB / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.008296, allocations: 0 / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.969e-05/0.008375, allocations: 19.92 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002253/0.008601, allocations: 144.7 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.008781, allocations: 55.05 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.645e-05/0.008857, allocations: 27.66 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.008874, allocations: 0 / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.00903, allocations: 73.05 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.009031, allocations: 4 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003043/0.009336, allocations: 101.5 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.009386, allocations: 51.41 kB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.009644, allocations: 250.4 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.009665, allocations: 25.7 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.009782, allocations: 150.9 kB / 382.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.009818, allocations: 19.89 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.222e-05/0.00987, allocations: 23.38 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002823/0.01015, allocations: 0.5001 MB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.872e-05/0.0102, allocations: 12 kB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.449e-05/0.01027, allocations: 35.36 kB / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.01037, allocations: 55.3 kB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01038, allocations: 256 / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001747/0.01055, allocations: 81.58 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.01057, allocations: 8 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.01057, allocations: 3.938 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.01059, allocations: 0 / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.271e-05/0.01066, allocations: 8 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.01067, allocations: 7.984 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.343e-05/0.01072, allocations: 3.938 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.01073, allocations: 8.031 kB / 383 MB, free: 13.01 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 (7): * Single equations (assignments): 7 * 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.0001354/0.01087, allocations: 160.6 kB / 383.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.0109, allocations: 11.91 kB / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/0.01112, allocations: 106.8 kB / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.01113, allocations: 0 / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.01113, allocations: 0 / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.01113, allocations: 0 / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.01131, allocations: 152.6 kB / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01131, allocations: 0 / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.01134, allocations: 8 kB / 383.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.01134, allocations: 4 kB / 383.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.01135, allocations: 4 kB / 383.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.01135, allocations: 7.875 kB / 383.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01136, allocations: 0 / 383.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.01159, allocations: 128.3 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.126e-05/0.01161, allocations: 7.953 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.01163, allocations: 3.984 kB / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.405e-05/0.01167, allocations: 11.94 kB / 383.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.01171, allocations: 192 / 383.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.01173, allocations: 11.98 kB / 383.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001595/0.01189, allocations: 176.2 kB / 383.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01189, allocations: 4 kB / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002142/0.0121, allocations: 19.94 kB / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002953/0.01506, allocations: 428.3 kB / 384.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001787/0.01524, allocations: 47.61 kB / 384.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01524, allocations: 0 / 384.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.448e-05/0.01531, allocations: 27.67 kB / 384.3 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.0156, allocations: 32.16 kB / 384.3 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00048/0.01608, allocations: 202.2 kB / 384.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.01619, allocations: 89.42 kB / 384.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.962e-05/0.01624, allocations: 20.42 kB / 384.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.407e-05/0.01628, allocations: 24.48 kB / 384.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01628, allocations: 0 / 384.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of Templates: time 0.005467/0.02175, allocations: 1.635 MB / 386.3 MB, free: 9.793 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.971615136018954]