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.0009177/0.0009177, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.001235/0.001235, allocations: 161.5 kB / 25.61 MB, free: 8.594 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.019/1.019, allocations: 177.1 MB / 206.1 MB, free: 4.473 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.1502/0.1502, allocations: 32.79 MB / 295.4 MB, free: 15.38 MB / 282.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 1.793e-06/1.793e-06, allocations: 3.938 kB / 377.4 MB, free: 25.49 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.254e-05, allocations: 2.312 kB / 377.4 MB, free: 25.48 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.00271/0.002732, allocations: 1.743 MB / 379.1 MB, free: 23.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.004266, allocations: 0.9971 MB / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.004397, allocations: 3.938 kB / 380.1 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004247/0.004822, allocations: 35.83 kB / 380.1 MB, free: 22.69 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003397/0.005162, allocations: 103.5 kB / 380.2 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.005387, allocations: 79.61 kB / 380.3 MB, free: 22.51 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.005574, allocations: 119.5 kB / 380.4 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.005679, allocations: 4 kB / 380.4 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.005787, allocations: 47.84 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.914e-05/0.005876, allocations: 31.89 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.005894, allocations: 4 kB / 380.5 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.759e-05/0.005991, allocations: 43.92 kB / 380.6 MB, free: 22.26 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.711e-05/0.006048, allocations: 23.91 kB / 380.6 MB, free: 22.24 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.006085, allocations: 15.94 kB / 380.6 MB, free: 22.22 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.006278, allocations: 111.5 kB / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.006281, allocations: 0 / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.006282, allocations: 0 / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.006287, allocations: 0 / 380.7 MB, free: 22.11 MB / 314.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.0004765/0.006764, allocations: 455.8 kB / 381.2 MB, free: 21.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.006808, allocations: 15.98 kB / 381.2 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.997e-05/0.006858, allocations: 16.83 kB / 381.2 MB, free: 21.6 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.007038, allocations: 156.4 kB / 381.3 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.007061, allocations: 8.375 kB / 381.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.00708, allocations: 4.312 kB / 381.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.007204, allocations: 66.94 kB / 381.4 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.007217, allocations: 3.938 kB / 381.4 MB, free: 21.33 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.007227, allocations: 3.984 kB / 381.4 MB, free: 21.33 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.007233, allocations: 0 / 381.4 MB, free: 21.33 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.38e-05/0.007266, allocations: 19.92 kB / 381.5 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.007545, allocations: 248.5 kB / 381.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.007661, allocations: 55.03 kB / 381.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.811e-05/0.007689, allocations: 19.73 kB / 381.8 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.007702, allocations: 0 / 381.8 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001169/0.007819, allocations: 72.98 kB / 381.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.007821, allocations: 0 / 381.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003618/0.008183, allocations: 133.5 kB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.008217, allocations: 55.41 kB / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.008356, allocations: 242.2 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.008366, allocations: 25.7 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.45e-05/0.00841, allocations: 158.8 kB / 382.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.008439, allocations: 19.86 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.008481, allocations: 31.34 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.171e-05/0.008543, allocations: 0.5 MB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.832e-05/0.008561, allocations: 11.98 kB / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.538e-05/0.008597, allocations: 31.36 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.777e-05/0.008654, allocations: 47.34 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.008656, allocations: 4 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001188/0.008774, allocations: 85.47 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.008788, allocations: 4 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.008794, allocations: 0 / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.008809, allocations: 4 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/0.008886, allocations: 20.02 kB / 383.2 MB, free: 19.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.008891, allocations: 3.938 kB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.024e-05/0.008931, allocations: 8 kB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.008938, allocations: 0 / 383.2 MB, free: 19.41 MB / 314.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.588e-05/0.009014, allocations: 160.6 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.009038, allocations: 19.88 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.009193, allocations: 99.22 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.009195, allocations: 0 / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.009198, allocations: 4 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.009204, allocations: 3.984 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.009466, allocations: 369.9 kB / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.009469, allocations: 4 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.349e-05/0.009502, allocations: 12 kB / 383.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.009504, allocations: 3.938 kB / 383.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.009513, allocations: 7.984 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.009515, allocations: 4 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.009517, allocations: 0 / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.009654, allocations: 251.4 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.00967, allocations: 7.953 kB / 384.1 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.009694, allocations: 4 kB / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.872e-05/0.009763, allocations: 8.031 kB / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.009795, allocations: 7.984 kB / 384.2 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.009809, allocations: 4 kB / 384.2 MB, free: 18.38 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.045e-05/0.009879, allocations: 176.2 kB / 384.3 MB, free: 18.2 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009879, allocations: 3.938 kB / 384.3 MB, free: 18.2 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002784/0.01016, allocations: 24 kB / 384.4 MB, free: 18.18 MB / 314.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.001242/0.0114, allocations: 428.1 kB / 384.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001156/0.01152, allocations: 51.53 kB / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01152, allocations: 4.062 kB / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.042e-05/0.01156, allocations: 31.66 kB / 384.9 MB, free: 17.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.01188, allocations: 39.27 kB / 384.9 MB, free: 17.8 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003739/0.01225, allocations: 227.8 kB / 385.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.829e-05/0.01229, allocations: 71.2 kB / 385.2 MB, free: 17.46 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.517e-05/0.01234, allocations: 16.95 kB / 385.2 MB, free: 17.44 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.263e-05/0.01241, allocations: 94.25 kB / 385.3 MB, free: 17.35 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01241, allocations: 0 / 385.3 MB, free: 17.35 MB / 314.7 MB Notification: Performance of Templates: time 0.003683/0.01609, allocations: 2.053 MB / 387.3 MB, free: 15.32 MB / 314.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.4691874338313937]