Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.001893/0.001893, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002309/0.002309, allocations: 165.7 kB / 24.27 MB, free: 172 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.665/1.665, allocations: 177.2 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.3396/0.3396, allocations: 32.8 MB / 293.9 MB, free: 1.199 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 375.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.579e-05/3.779e-05, allocations: 10.25 kB / 375.4 MB, free: 4.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003466/0.003504, allocations: 1.716 MB / 377.1 MB, free: 3.148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.005549, allocations: 0.9742 MB / 378 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.232e-05/0.005641, allocations: 0 / 378 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.005961, allocations: 39.77 kB / 378.1 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004144/0.006375, allocations: 99.47 kB / 378.2 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.006657, allocations: 83.59 kB / 378.3 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.006877, allocations: 107.6 kB / 378.4 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.533e-05/0.006972, allocations: 11.98 kB / 378.4 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.007099, allocations: 51.84 kB / 378.4 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.914e-05/0.007189, allocations: 27.91 kB / 378.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.00721, allocations: 4 kB / 378.5 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.007342, allocations: 47.91 kB / 378.5 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.558e-05/0.007407, allocations: 19.92 kB / 378.5 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.268e-05/0.00746, allocations: 19.88 kB / 378.5 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.007725, allocations: 123.5 kB / 378.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.007729, allocations: 0 / 378.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.00773, allocations: 0 / 378.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.007735, allocations: 0 / 378.7 MB, free: 1.543 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.0006177/0.008353, allocations: 341.6 kB / 379 MB, free: 1.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.008391, allocations: 12.02 kB / 379 MB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.238e-05/0.008463, allocations: 20.84 kB / 379 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.008768, allocations: 146.3 kB / 379.2 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.008784, allocations: 4.312 kB / 379.2 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.00881, allocations: 8.375 kB / 379.2 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.008968, allocations: 50.23 kB / 379.2 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.008983, allocations: 7.938 kB / 379.2 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.008997, allocations: 4 kB / 379.2 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.009001, allocations: 4 kB / 379.3 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.182e-05/0.009083, allocations: 23.92 kB / 379.3 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005034/0.009587, allocations: 240.5 kB / 379.5 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.009788, allocations: 54.61 kB / 379.6 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.545e-05/0.009864, allocations: 24.78 kB / 379.6 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.009885, allocations: 7.984 kB / 379.6 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/0.01006, allocations: 67.39 kB / 379.7 MB, free: 444 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.01006, allocations: 0 / 379.7 MB, free: 444 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007007/0.01076, allocations: 181.4 kB / 379.8 MB, free: 256 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.01081, allocations: 51.41 kB / 379.9 MB, free: 192 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.0111, allocations: 206.7 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.01112, allocations: 29.7 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.696e-05/0.01121, allocations: 107.9 kB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.01125, allocations: 27.78 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.167e-05/0.0113, allocations: 25.66 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.01149, allocations: 326.8 kB / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.29e-05/0.01156, allocations: 23.98 kB / 380.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.18e-05/0.01164, allocations: 33.7 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.01179, allocations: 65.64 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.01179, allocations: 0 / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002696/0.01206, allocations: 113.5 kB / 380.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.01208, allocations: 4 kB / 380.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.01209, allocations: 0 / 380.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.0121, allocations: 0 / 380.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.01221, allocations: 16.38 kB / 380.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.01222, allocations: 3.938 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.04e-05/0.01228, allocations: 11.98 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.01229, allocations: 8.031 kB / 380.9 MB, free: 15.15 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.0001398/0.01243, allocations: 125.8 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.01246, allocations: 15.91 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000308/0.01277, allocations: 131.2 kB / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.01277, allocations: 0 / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.01278, allocations: 0 / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.01278, allocations: 0 / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005473/0.01333, allocations: 354.9 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.01333, allocations: 0 / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-05/0.01338, allocations: 12.03 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.01338, allocations: 3.938 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.0134, allocations: 8 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.0134, allocations: 0 / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.0134, allocations: 0 / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.01372, allocations: 216.2 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.507e-05/0.01375, allocations: 11.91 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.01378, allocations: 4 kB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.604e-05/0.01386, allocations: 4 kB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.01391, allocations: 7.984 kB / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.01393, allocations: 8 kB / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001823/0.01411, allocations: 160.1 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01411, allocations: 0 / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000294/0.0144, allocations: 27.92 kB / 381.9 MB, free: 14.01 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.002279/0.01668, allocations: 497.7 kB / 382.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.0169, allocations: 59.91 kB / 382.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.01691, allocations: 3.938 kB / 382.5 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.489e-05/0.01699, allocations: 27.98 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.01738, allocations: 27.92 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005903/0.01797, allocations: 237.5 kB / 382.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.01809, allocations: 96.42 kB / 382.9 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.895e-05/0.01816, allocations: 21.27 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.085e-05/0.01821, allocations: 16.5 kB / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01821, allocations: 0 / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of Templates: time 0.005853/0.02407, allocations: 1.872 MB / 384.8 MB, free: 11.36 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.9728458259487525]