Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.001993/0.001993, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002766/0.002766, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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.502/1.502, allocations: 177.2 MB / 204.3 MB, free: 9.168 MB / 190.1 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.2264/0.2264, allocations: 34.28 MB / 295 MB, free: 14.56 MB / 286.1 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 442.8 MB, free: 5.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.618e-05, allocations: 2.281 kB / 442.8 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003185/0.003212, allocations: 1.72 MB / 444.5 MB, free: 3.574 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002768/0.005979, allocations: 1.672 MB / 446.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.588e-05/0.006065, allocations: 0 / 446.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.006375, allocations: 39.7 kB / 446.2 MB, free: 1.855 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000388/0.006763, allocations: 103.5 kB / 446.3 MB, free: 1.754 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.006975, allocations: 75.61 kB / 446.4 MB, free: 1.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.007175, allocations: 107.7 kB / 446.5 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.61e-05/0.007271, allocations: 7.984 kB / 446.5 MB, free: 1.566 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.007439, allocations: 63.77 kB / 446.5 MB, free: 1.504 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.007565, allocations: 31.89 kB / 446.6 MB, free: 1.473 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.007589, allocations: 12 kB / 446.6 MB, free: 1.461 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.007782, allocations: 99.81 kB / 446.7 MB, free: 1.363 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.948e-05/0.007852, allocations: 27.86 kB / 446.7 MB, free: 1.336 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.244e-05/0.007914, allocations: 23.91 kB / 446.7 MB, free: 1.312 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.008238, allocations: 167.5 kB / 446.9 MB, free: 1.148 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.008242, allocations: 0 / 446.9 MB, free: 1.148 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.008243, allocations: 3.938 kB / 446.9 MB, free: 1.145 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.008249, allocations: 0 / 446.9 MB, free: 1.145 MB / 366.1 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.0006441/0.008893, allocations: 357.4 kB / 447.2 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.00893, allocations: 8.031 kB / 447.3 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.008978, allocations: 12.89 kB / 447.3 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.00925, allocations: 150.2 kB / 447.4 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.009268, allocations: 8.359 kB / 447.4 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.009297, allocations: 12.27 kB / 447.4 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.009496, allocations: 101 kB / 447.5 MB, free: 448 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.009508, allocations: 3.938 kB / 447.5 MB, free: 444 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.009518, allocations: 0 / 447.5 MB, free: 444 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.009525, allocations: 4 kB / 447.5 MB, free: 440 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.874e-05/0.009604, allocations: 15.98 kB / 447.6 MB, free: 424 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.009976, allocations: 232.5 kB / 447.8 MB, free: 160 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.01017, allocations: 66.61 kB / 447.9 MB, free: 84 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.547e-05/0.01022, allocations: 16.86 kB / 447.9 MB, free: 64 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.01024, allocations: 0 / 447.9 MB, free: 64 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2172/0.2274, allocations: 66.25 kB / 447.9 MB, free: 19.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 4.137e-06/0.2274, allocations: 0 / 447.9 MB, free: 19.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007597/0.2282, allocations: 178 kB / 448.1 MB, free: 19.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.2282, allocations: 79.2 kB / 448.2 MB, free: 19.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.2284, allocations: 169.6 kB / 448.3 MB, free: 19.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.2284, allocations: 32.86 kB / 448.4 MB, free: 19.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.2284, allocations: 97.41 kB / 448.5 MB, free: 19.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.2285, allocations: 26.02 kB / 448.5 MB, free: 19.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.2285, allocations: 23.16 kB / 448.5 MB, free: 19.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.817e-05/0.2286, allocations: 325.4 kB / 448.8 MB, free: 18.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.433e-05/0.2286, allocations: 25.72 kB / 448.9 MB, free: 18.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.906e-05/0.2287, allocations: 72.14 kB / 448.9 MB, free: 18.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.2289, allocations: 62.58 kB / 449 MB, free: 18.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.2289, allocations: 1.031 kB / 449 MB, free: 18.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002087/0.2291, allocations: 99.33 kB / 449.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.2291, allocations: 6.25 kB / 449.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2291, allocations: 3.812 kB / 449.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.2291, allocations: 4.875 kB / 449.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.2292, allocations: 20.98 kB / 449.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.2292, allocations: 1.156 kB / 449.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.489e-05/0.2293, allocations: 2.797 kB / 449.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.2293, allocations: 7.766 kB / 449.1 MB, free: 18.62 MB / 366.1 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 8.445e-05/0.2294, allocations: 130.1 kB / 449.3 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.2294, allocations: 13.05 kB / 449.3 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/0.2297, allocations: 119.5 kB / 449.4 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2297, allocations: 1.219 kB / 449.4 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2297, allocations: 2.969 kB / 449.4 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2297, allocations: 0.6562 kB / 449.4 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004232/0.2301, allocations: 350.8 kB / 449.7 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2301, allocations: 1.5 kB / 449.7 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.891e-05/0.2301, allocations: 12.72 kB / 449.8 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2301, allocations: 3.906 kB / 449.8 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.2301, allocations: 6.906 kB / 449.8 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.2302, allocations: 0.75 kB / 449.8 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2302, allocations: 1.531 kB / 449.8 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.2304, allocations: 212.8 kB / 450 MB, free: 18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.177e-05/0.2304, allocations: 13.81 kB / 450 MB, free: 18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.2304, allocations: 1.781 kB / 450 MB, free: 18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.882e-05/0.2305, allocations: 11.73 kB / 450 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.2305, allocations: 6.344 kB / 450 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.2306, allocations: 4.453 kB / 450 MB, free: 17.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.988e-05/0.2307, allocations: 136.8 kB / 450.2 MB, free: 17.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2307, allocations: 2.797 kB / 450.2 MB, free: 17.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003125/0.231, allocations: 48.2 kB / 450.2 MB, free: 17.89 MB / 366.1 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.002016/0.233, allocations: 0.6031 MB / 450.8 MB, free: 17.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.2332, allocations: 61.45 kB / 450.9 MB, free: 17.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2332, allocations: 1.188 kB / 450.9 MB, free: 17.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.49e-05/0.2333, allocations: 32.98 kB / 450.9 MB, free: 17.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.2336, allocations: 27.48 kB / 450.9 MB, free: 17.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003983/0.234, allocations: 208.8 kB / 451.1 MB, free: 17.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.199e-05/0.2341, allocations: 84.16 kB / 451.2 MB, free: 17.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.677e-05/0.2341, allocations: 19.69 kB / 451.2 MB, free: 17.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.748e-05/0.2342, allocations: 24.95 kB / 451.3 MB, free: 17.41 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2342, allocations: 0 / 451.3 MB, free: 17.41 MB / 366.1 MB Notification: Performance of Templates: time 0.006117/0.2403, allocations: 2.505 MB / 453.8 MB, free: 17.1 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.003175005316734]