Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.0009988/0.0009988, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001102/0.001102, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.9898/0.9898, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.1636/0.1636, allocations: 34.27 MB / 296.9 MB, free: 13.9 MB / 282.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.637e-05/1.743e-05, allocations: 6.25 kB / 379.4 MB, free: 23.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.001884/0.001901, allocations: 1.743 MB / 381.1 MB, free: 21.55 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.002989, allocations: 0.9896 MB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.177e-05/0.00306, allocations: 4 kB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.003306, allocations: 43.7 kB / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.003535, allocations: 99.47 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/0.003676, allocations: 83.59 kB / 382.3 MB, free: 20.33 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.003801, allocations: 103.6 kB / 382.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.606e-05/0.003877, allocations: 11.98 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.979e-05/0.003946, allocations: 55.77 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.296e-05/0.004009, allocations: 23.91 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.004023, allocations: 4 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.581e-05/0.004089, allocations: 55.91 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.986e-05/0.004128, allocations: 15.94 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.004158, allocations: 23.92 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.004293, allocations: 95.66 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.004295, allocations: 0 / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004296, allocations: 0 / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.0043, allocations: 4 kB / 382.7 MB, free: 19.94 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.0003229/0.004623, allocations: 447.8 kB / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.004653, allocations: 8.031 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.004688, allocations: 16.89 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.004799, allocations: 148.4 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.004813, allocations: 4.375 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.004827, allocations: 8.328 kB / 383.3 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.339e-05/0.00491, allocations: 62.92 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.004919, allocations: 3.938 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.004925, allocations: 0 / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.00493, allocations: 0 / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.435e-05/0.004954, allocations: 15.92 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.005131, allocations: 252.5 kB / 383.7 MB, free: 18.9 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.406e-05/0.005205, allocations: 47.16 kB / 383.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.005224, allocations: 23.67 kB / 383.7 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.005234, allocations: 4 kB / 383.7 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.882e-05/0.005302, allocations: 68.92 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.005304, allocations: 0 / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002721/0.005576, allocations: 133.5 kB / 383.9 MB, free: 18.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.824e-05/0.005594, allocations: 51.41 kB / 384 MB, free: 18.53 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.249e-05/0.005666, allocations: 227.2 kB / 384.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.274e-06/0.005674, allocations: 29.7 kB / 384.2 MB, free: 18.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.839e-05/0.005702, allocations: 146.8 kB / 384.4 MB, free: 18.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.005723, allocations: 27.84 kB / 384.4 MB, free: 18.08 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.005749, allocations: 31.36 kB / 384.4 MB, free: 18.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.216e-05/0.005791, allocations: 0.4962 MB / 384.9 MB, free: 17.53 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.404e-05/0.005805, allocations: 8 kB / 385 MB, free: 17.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.101e-05/0.005826, allocations: 31.67 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.694e-05/0.005863, allocations: 55.36 kB / 385 MB, free: 17.42 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.005863, allocations: 0 / 385 MB, free: 17.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.889e-05/0.005942, allocations: 93.45 kB / 385.1 MB, free: 17.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.005952, allocations: 4 kB / 385.1 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.005957, allocations: 8.031 kB / 385.1 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.825e-06/0.005965, allocations: 0 / 385.1 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.564e-05/0.00602, allocations: 12 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.006023, allocations: 0 / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.784e-05/0.00605, allocations: 11.98 kB / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.006055, allocations: 0 / 385.2 MB, free: 17.29 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 4.387e-05/0.006099, allocations: 160.6 kB / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.006113, allocations: 19.84 kB / 385.3 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.006222, allocations: 99.06 kB / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.006225, allocations: 0 / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.006226, allocations: 4 kB / 385.4 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.00623, allocations: 0 / 385.4 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.006421, allocations: 365.5 kB / 385.8 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.006422, allocations: 0 / 385.8 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.368e-05/0.006446, allocations: 15.92 kB / 385.8 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.006448, allocations: 0 / 385.8 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.006453, allocations: 4 kB / 385.8 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.006454, allocations: 0 / 385.8 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.006455, allocations: 0 / 385.8 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.853e-05/0.006543, allocations: 259.7 kB / 386.1 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.013e-05/0.006554, allocations: 11.98 kB / 386.1 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.006568, allocations: 3.984 kB / 386.1 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.939e-05/0.006607, allocations: 4 kB / 386.1 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.006629, allocations: 7.984 kB / 386.1 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.00664, allocations: 4 kB / 386.1 MB, free: 16.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.626e-05/0.006676, allocations: 160.1 kB / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006676, allocations: 0 / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001678/0.006844, allocations: 24 kB / 386.3 MB, free: 16.09 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.000832/0.007676, allocations: 457.1 kB / 386.7 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.487e-05/0.007761, allocations: 51.55 kB / 386.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.007762, allocations: 0 / 386.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.725e-05/0.007789, allocations: 31.61 kB / 386.8 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.008003, allocations: 34.75 kB / 386.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002551/0.008258, allocations: 216.2 kB / 387.1 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.482e-05/0.008283, allocations: 67.2 kB / 387.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.244e-05/0.008315, allocations: 17.09 kB / 387.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.968e-05/0.008375, allocations: 94.19 kB / 387.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of SimCode: time 6.72e-07/0.008376, allocations: 0 / 387.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of Templates: time 0.003244/0.01162, allocations: 2.047 MB / 389.3 MB, free: 13.23 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.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.1390817780047655]