Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.002015/0.002015, allocations: 92.31 kB / 20.96 MB, free: 3.48 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.002692/0.002692, allocations: 165.6 kB / 24.26 MB, free: 180 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.803/1.803, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.3564/0.3564, allocations: 34.27 MB / 295.3 MB, free: 0.6875 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 377.4 MB, free: 2.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.097e-05, allocations: 2.312 kB / 377.4 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003574/0.003605, allocations: 1.719 MB / 379.1 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002215/0.00582, allocations: 0.9851 MB / 380.1 MB, free: 152 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.426e-05/0.005894, allocations: 0 / 380.1 MB, free: 152 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.006215, allocations: 47.64 kB / 380.1 MB, free: 104 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.006548, allocations: 95.53 kB / 380.2 MB, free: 8 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.006804, allocations: 83.61 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.007002, allocations: 107.6 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.53e-05/0.007087, allocations: 4 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.007206, allocations: 55.83 kB / 380.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.295e-05/0.007288, allocations: 35.84 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.007308, allocations: 4 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.00741, allocations: 43.92 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.119e-05/0.007472, allocations: 23.92 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.343e-05/0.007525, allocations: 23.91 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.007774, allocations: 119.6 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.007777, allocations: 0 / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.007779, allocations: 0 / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.007783, allocations: 0 / 380.7 MB, free: 15.52 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005954/0.008378, allocations: 349.5 kB / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.008411, allocations: 12.03 kB / 381.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.525e-05/0.008477, allocations: 16.84 kB / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.008779, allocations: 158 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.008795, allocations: 4.359 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.008821, allocations: 4.375 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.008982, allocations: 54.23 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.008996, allocations: 3.938 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.009008, allocations: 4 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.009012, allocations: 0 / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.794e-05/0.0091, allocations: 23.92 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.009496, allocations: 232.6 kB / 381.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.009711, allocations: 58.67 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.846e-05/0.009779, allocations: 24.78 kB / 381.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.009795, allocations: 0 / 381.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.009969, allocations: 71.33 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.009971, allocations: 0 / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006712/0.01064, allocations: 185.6 kB / 381.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.01069, allocations: 59.34 kB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.01095, allocations: 215 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.01097, allocations: 29.7 kB / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.194e-05/0.01106, allocations: 100.1 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.01109, allocations: 23.81 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-05/0.01114, allocations: 25.72 kB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.01133, allocations: 326.8 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.375e-05/0.0114, allocations: 24.06 kB / 382.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.686e-05/0.01148, allocations: 37.7 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.01164, allocations: 73.62 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.01164, allocations: 8 kB / 382.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002242/0.01187, allocations: 105.6 kB / 382.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.01188, allocations: 6.031 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.01189, allocations: 0 / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.01191, allocations: 4 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.01201, allocations: 15.98 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.01201, allocations: 0 / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.278e-05/0.01207, allocations: 4 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.01208, allocations: 4 kB / 382.9 MB, free: 13.12 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.0001476/0.01222, allocations: 137.7 kB / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.01226, allocations: 15.91 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.01256, allocations: 119.1 kB / 383.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.01256, allocations: 4 kB / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.01257, allocations: 0 / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.01257, allocations: 0 / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005396/0.01311, allocations: 358.9 kB / 383.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01311, allocations: 0 / 383.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.346e-05/0.01315, allocations: 11.94 kB / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.01316, allocations: 4.031 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.01318, allocations: 7.984 kB / 383.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01318, allocations: 0 / 383.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01318, allocations: 0 / 383.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003468/0.01353, allocations: 216.2 kB / 383.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.638e-05/0.01355, allocations: 15.91 kB / 383.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.01358, allocations: 7.969 kB / 383.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.794e-05/0.01366, allocations: 4 kB / 383.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.0137, allocations: 7.922 kB / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.01371, allocations: 8 kB / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001647/0.01388, allocations: 159.2 kB / 384 MB, free: 11.99 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01388, allocations: 4 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002675/0.01415, allocations: 24 kB / 384 MB, free: 11.96 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.002243/0.01639, allocations: 498.2 kB / 384.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001984/0.01659, allocations: 55.92 kB / 384.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01659, allocations: 0 / 384.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.921e-05/0.01668, allocations: 36.08 kB / 384.6 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.01707, allocations: 36.03 kB / 384.6 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005595/0.01762, allocations: 249.4 kB / 384.9 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.01774, allocations: 92.94 kB / 384.9 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.22e-05/0.01779, allocations: 12.97 kB / 385 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.01784, allocations: 20.5 kB / 385 MB, free: 11.14 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01784, allocations: 0 / 385 MB, free: 11.14 MB / 362.7 MB Notification: Performance of Templates: time 0.005589/0.02343, allocations: 1.875 MB / 386.9 MB, free: 9.289 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.195588352973573]