Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.0009708/0.0009708, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001087/0.001087, allocations: 175.7 kB / 24.92 MB, free: 8.766 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 0.9768/0.9768, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2894/0.2894, allocations: 32.81 MB / 294.6 MB, free: 1.246 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 323.3 MB, free: 9.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.099e-05, allocations: 2.312 kB / 323.3 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002377/0.002398, allocations: 1.751 MB / 325.1 MB, free: 7.852 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.003609, allocations: 1.009 MB / 326.1 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.875e-05/0.003678, allocations: 3.938 kB / 326.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.003923, allocations: 39.77 kB / 326.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.004163, allocations: 103.4 kB / 326.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001424/0.004305, allocations: 71.67 kB / 326.3 MB, free: 6.621 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.004444, allocations: 112.2 kB / 326.4 MB, free: 6.512 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.605e-05/0.004521, allocations: 12.73 kB / 326.4 MB, free: 6.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.658e-05/0.004597, allocations: 55.83 kB / 326.5 MB, free: 6.445 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.362e-05/0.004661, allocations: 19.92 kB / 326.5 MB, free: 6.426 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.004674, allocations: 8 kB / 326.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.048e-05/0.004744, allocations: 43.92 kB / 326.5 MB, free: 6.375 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.412e-05/0.004788, allocations: 27.84 kB / 326.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.004819, allocations: 23.86 kB / 326.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.004963, allocations: 95.66 kB / 326.7 MB, free: 6.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.004964, allocations: 0 / 326.7 MB, free: 6.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004965, allocations: 0 / 326.7 MB, free: 6.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.004969, allocations: 0 / 326.7 MB, free: 6.23 MB / 298.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.0003626/0.005331, allocations: 329.4 kB / 327 MB, free: 5.887 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.005362, allocations: 8.031 kB / 327 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.005391, allocations: 4.938 kB / 327 MB, free: 5.875 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.005609, allocations: 163.3 kB / 327.2 MB, free: 5.691 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.005625, allocations: 4.375 kB / 327.2 MB, free: 5.688 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.005644, allocations: 4.375 kB / 327.2 MB, free: 5.684 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.319e-05/0.005737, allocations: 61.77 kB / 327.2 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.005746, allocations: 3.938 kB / 327.2 MB, free: 5.609 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-06/0.005752, allocations: 0 / 327.2 MB, free: 5.609 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.005758, allocations: 4 kB / 327.3 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.32e-05/0.005781, allocations: 11.98 kB / 327.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.005958, allocations: 162 kB / 327.4 MB, free: 5.418 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.22e-05/0.00604, allocations: 93.28 kB / 327.5 MB, free: 5.316 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.822e-05/0.006059, allocations: 8.859 kB / 327.5 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.006069, allocations: 3.984 kB / 327.5 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.338e-05/0.006143, allocations: 66.16 kB / 327.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.006144, allocations: 0 / 327.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002659/0.00641, allocations: 117.5 kB / 327.7 MB, free: 5.102 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.006444, allocations: 55.41 kB / 327.8 MB, free: 5.035 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.006545, allocations: 180.8 kB / 327.9 MB, free: 4.844 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.006558, allocations: 25.7 kB / 328 MB, free: 4.812 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.903e-05/0.006587, allocations: 96.09 kB / 328.1 MB, free: 4.715 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.006611, allocations: 27.78 kB / 328.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.006637, allocations: 25.7 kB / 328.1 MB, free: 4.656 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.568e-05/0.006713, allocations: 322.8 kB / 328.4 MB, free: 4.332 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.006728, allocations: 10.77 kB / 328.4 MB, free: 4.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.473e-05/0.006753, allocations: 29.69 kB / 328.5 MB, free: 4.285 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.331e-05/0.006796, allocations: 44.59 kB / 328.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.006798, allocations: 4 kB / 328.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.89e-05/0.006867, allocations: 72.36 kB / 328.6 MB, free: 4.152 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.006878, allocations: 8 kB / 328.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.006883, allocations: 0 / 328.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.006897, allocations: 3.984 kB / 328.6 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.593e-05/0.006953, allocations: 16 kB / 328.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.006956, allocations: 4 kB / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.414e-05/0.00698, allocations: 384 / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.006985, allocations: 0 / 328.6 MB, free: 4.121 MB / 298.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 5.972e-05/0.007045, allocations: 131.2 kB / 328.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.007057, allocations: 15.88 kB / 328.8 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.747e-05/0.007155, allocations: 79.06 kB / 328.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.007157, allocations: 0 / 328.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.007159, allocations: 4 kB / 328.8 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.007163, allocations: 4 kB / 328.8 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.007363, allocations: 287.4 kB / 329.1 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.007364, allocations: 0 / 329.1 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.2e-05/0.007386, allocations: 11.98 kB / 329.1 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.007388, allocations: 4.031 kB / 329.1 MB, free: 3.551 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.007394, allocations: 8 kB / 329.1 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.007395, allocations: 0 / 329.1 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.007397, allocations: 4 kB / 329.1 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.007498, allocations: 215 kB / 329.4 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.267e-05/0.007511, allocations: 11.94 kB / 329.4 MB, free: 3.297 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.007526, allocations: 4 kB / 329.4 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.636e-05/0.007562, allocations: 4 kB / 329.4 MB, free: 3.289 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-05/0.007584, allocations: 3.984 kB / 329.4 MB, free: 3.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.007592, allocations: 4 kB / 329.4 MB, free: 3.281 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.964e-05/0.007632, allocations: 51.64 kB / 329.4 MB, free: 3.227 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007632, allocations: 4 kB / 329.4 MB, free: 3.223 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001358/0.007768, allocations: 23.94 kB / 329.5 MB, free: 3.199 MB / 298.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.001138/0.008906, allocations: 0.573 MB / 330 MB, free: 2.922 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.316e-05/0.008989, allocations: 48.75 kB / 330.1 MB, free: 2.871 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.008993, allocations: 4 kB / 330.1 MB, free: 2.867 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.772e-05/0.00902, allocations: 20.8 kB / 330.1 MB, free: 2.844 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.009187, allocations: 39.91 kB / 330.1 MB, free: 2.805 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.009465, allocations: 215.7 kB / 330.4 MB, free: 2.562 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.573e-05/0.009501, allocations: 67.34 kB / 330.4 MB, free: 2.477 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.224e-05/0.009533, allocations: 17.41 kB / 330.4 MB, free: 2.457 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.847e-05/0.009592, allocations: 71.3 kB / 330.5 MB, free: 2.387 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.009592, allocations: 0 / 330.5 MB, free: 2.387 MB / 298.7 MB Notification: Performance of Templates: time 0.003647/0.01324, allocations: 2.018 MB / 332.5 MB, free: 412 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.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: 2.965230415109545]