Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.001089/0.001089, 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.00108/0.00108, allocations: 161 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 1.004/1.004, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.2967/0.2967, allocations: 32.81 MB / 294.3 MB, free: 1.285 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.856e-06/2.856e-06, allocations: 0 / 376.1 MB, free: 4.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.339e-05, allocations: 6.25 kB / 376.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002712/0.002745, allocations: 1.769 MB / 377.9 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.004052, allocations: 1.009 MB / 378.9 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.806e-05/0.00414, allocations: 0 / 378.9 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.00447, allocations: 51.7 kB / 378.9 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003444/0.004815, allocations: 103.5 kB / 379 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.005033, allocations: 71.62 kB / 379.1 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.005213, allocations: 111.7 kB / 379.2 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.454e-05/0.005307, allocations: 4 kB / 379.2 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.274e-05/0.0054, allocations: 63.75 kB / 379.3 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.006e-05/0.00548, allocations: 19.92 kB / 379.3 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.005498, allocations: 4 kB / 379.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.912e-05/0.005597, allocations: 47.92 kB / 379.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.86e-05/0.005656, allocations: 27.91 kB / 379.4 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.485e-05/0.0057, allocations: 23.86 kB / 379.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.005902, allocations: 99.66 kB / 379.5 MB, free: 1.176 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.005906, allocations: 0 / 379.5 MB, free: 1.176 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.005908, allocations: 0 / 379.5 MB, free: 1.176 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.005913, allocations: 0 / 379.5 MB, free: 1.176 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.0005021/0.006415, allocations: 455.8 kB / 379.9 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.006456, allocations: 12.03 kB / 379.9 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.175e-05/0.006507, allocations: 8.891 kB / 380 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.006708, allocations: 168.8 kB / 380.1 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.006731, allocations: 4.375 kB / 380.1 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.006759, allocations: 4.375 kB / 380.1 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.006897, allocations: 58.94 kB / 380.2 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.006909, allocations: 3.938 kB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.00692, allocations: 0 / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.006929, allocations: 4 kB / 380.2 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.93e-05/0.006968, allocations: 15.91 kB / 380.2 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.007308, allocations: 283.8 kB / 380.5 MB, free: 76 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.007435, allocations: 55.17 kB / 380.5 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.798e-05/0.007483, allocations: 23.66 kB / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.007501, allocations: 4 kB / 380.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001095/0.007611, allocations: 68.94 kB / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.007612, allocations: 0 / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004432/0.008055, allocations: 165.3 kB / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.008085, allocations: 51.41 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.00823, allocations: 237.9 kB / 381.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.008244, allocations: 25.7 kB / 381.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.592e-05/0.00831, allocations: 154.8 kB / 381.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.00834, allocations: 31.78 kB / 381.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.008377, allocations: 27.38 kB / 381.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.008501, allocations: 0.4962 MB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.257e-05/0.008534, allocations: 15.98 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.543e-05/0.008569, allocations: 31.36 kB / 381.9 MB, free: 14.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.194e-05/0.008631, allocations: 55.25 kB / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.008632, allocations: 0 / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001183/0.00875, allocations: 89.95 kB / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.008765, allocations: 4 kB / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.00877, allocations: 4.031 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.008788, allocations: 3.984 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.323e-05/0.008871, allocations: 20 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.008877, allocations: 0 / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.06e-05/0.008908, allocations: 3.953 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.008916, allocations: 8 kB / 382 MB, free: 14.4 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 8.124e-05/0.008997, allocations: 164.5 kB / 382.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.009016, allocations: 15.95 kB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.009186, allocations: 111.1 kB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.009188, allocations: 4 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.009192, allocations: 4 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.009195, allocations: 0 / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003282/0.009523, allocations: 392.9 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.009526, allocations: 4 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.374e-05/0.00956, allocations: 15.92 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.009563, allocations: 0 / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.009572, allocations: 4 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.009575, allocations: 4 kB / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.009576, allocations: 0 / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.009732, allocations: 259.5 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.444e-05/0.009746, allocations: 11.91 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.009764, allocations: 0 / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.687e-05/0.009811, allocations: 8 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.009845, allocations: 7.984 kB / 383 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.009859, allocations: 4 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.807e-05/0.009947, allocations: 184.1 kB / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009947, allocations: 0 / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001877/0.01013, allocations: 23.94 kB / 383.2 MB, free: 13.12 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.000972/0.01111, allocations: 437.6 kB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001452/0.01125, allocations: 59.59 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01125, allocations: 0 / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.356e-05/0.0113, allocations: 31.61 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.01157, allocations: 39.83 kB / 383.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004065/0.01197, allocations: 222.2 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.672e-05/0.01202, allocations: 71.33 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.946e-05/0.01206, allocations: 21.08 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.01209, allocations: 20.48 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01209, allocations: 3.938 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of Templates: time 0.003977/0.01607, allocations: 1.869 MB / 386 MB, free: 10.49 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.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.4844352728687227]