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.00138/0.00138, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001909/0.001909, allocations: 169.2 kB / 24.82 MB, free: 8.918 MB / 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.039/1.039, allocations: 177.2 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.2711/0.2711, allocations: 34.26 MB / 296.1 MB, free: 0.7188 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.[0-9,]+.|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.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 378.6 MB, free: 2.293 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.678e-05, allocations: 2.312 kB / 378.6 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002412/0.002439, allocations: 1.75 MB / 380.3 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.003665, allocations: 0.9975 MB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.534e-05/0.00374, allocations: 0 / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002989/0.004039, allocations: 55.62 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.004292, allocations: 95.53 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001476/0.004439, allocations: 75.67 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.004585, allocations: 111.6 kB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.696e-05/0.004672, allocations: 8 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.684e-05/0.004759, allocations: 59.81 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.1e-05/0.00483, allocations: 19.92 kB / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.004845, allocations: 4 kB / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.109e-05/0.004927, allocations: 55.84 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.35e-05/0.00497, allocations: 19.92 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.005006, allocations: 19.92 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.005158, allocations: 103.6 kB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.00516, allocations: 0 / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.005161, allocations: 0 / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.005164, allocations: 4 kB / 382 MB, free: 14.9 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.0004193/0.005583, allocations: 451.8 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.00562, allocations: 12.03 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/0.005652, allocations: 8.891 kB / 382.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.005796, allocations: 168.3 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.005811, allocations: 384 / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.005829, allocations: 8.375 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.844e-05/0.005927, allocations: 58.94 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.005938, allocations: 3.938 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.005945, allocations: 4 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.005951, allocations: 0 / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.521e-05/0.005976, allocations: 15.97 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002283/0.006204, allocations: 260.4 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.816e-05/0.006282, allocations: 51.16 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.014e-05/0.006303, allocations: 15.69 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.006316, allocations: 4 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.396e-05/0.0064, allocations: 72.91 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.81e-07/0.006401, allocations: 3.938 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000298/0.006699, allocations: 141.4 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.006731, allocations: 55.34 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.006849, allocations: 229.8 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.006862, allocations: 29.7 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/0.006918, allocations: 150.9 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.006944, allocations: 35.77 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.006974, allocations: 27.38 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.007096, allocations: 0.5001 MB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.486e-05/0.007111, allocations: 8 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.608e-05/0.007137, allocations: 27.36 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.565e-05/0.007182, allocations: 47.38 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.007183, allocations: 0 / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.254e-05/0.007276, allocations: 93.5 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.007287, allocations: 8 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.007292, allocations: 4.031 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.007303, allocations: 0 / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.336e-05/0.007357, allocations: 15.94 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.007362, allocations: 4 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.802e-05/0.00739, allocations: 7.984 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.007396, allocations: 4 kB / 384.4 MB, free: 12.2 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 7.221e-05/0.007468, allocations: 156.6 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.864e-05/0.007487, allocations: 23.84 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.007605, allocations: 99.06 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.007608, allocations: 8 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.007609, allocations: 384 / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.007612, allocations: 0 / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.00787, allocations: 365.6 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.007871, allocations: 0 / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.154e-05/0.007892, allocations: 8 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.007894, allocations: 0 / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.0079, allocations: 4 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.007901, allocations: 0 / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.007903, allocations: 3.938 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.008038, allocations: 263.5 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.021e-05/0.008049, allocations: 11.89 kB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.008063, allocations: 7.922 kB / 385.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.897e-05/0.008102, allocations: 4 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.508e-05/0.008128, allocations: 7.984 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.008138, allocations: 4 kB / 385.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.44e-05/0.008202, allocations: 168.2 kB / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008202, allocations: 0 / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001634/0.008366, allocations: 31.92 kB / 385.6 MB, free: 10.98 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.0008626/0.009228, allocations: 434.6 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.009339, allocations: 59.56 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.009341, allocations: 0 / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.382e-05/0.009375, allocations: 23.62 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.009603, allocations: 53.55 kB / 386.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00032/0.009923, allocations: 221.9 kB / 386.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.193e-05/0.009965, allocations: 71.33 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.854e-05/0.01, allocations: 25.08 kB / 386.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.077e-05/0.01007, allocations: 90.19 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01008, allocations: 0 / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of Templates: time 0.003543/0.01362, allocations: 2.041 MB / 388.6 MB, free: 8.109 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 240] 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","",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.4672711826860905]