Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009258/0.0009258, 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.0009417/0.0009417, allocations: 167.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.9112/0.9112, allocations: 177.2 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.1333/0.1333, allocations: 34.26 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.Test31,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.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 379.4 MB, free: 23.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.389e-05, allocations: 2.312 kB / 379.4 MB, free: 23.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002036/0.00206, allocations: 1.747 MB / 381.1 MB, free: 21.54 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009593/0.003019, allocations: 0.9935 MB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.803e-05/0.003087, allocations: 8 kB / 382.1 MB, free: 20.53 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.003351, allocations: 39.7 kB / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002522/0.003603, allocations: 103.5 kB / 382.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/0.003742, allocations: 75.66 kB / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.003875, allocations: 111.6 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.842e-05/0.003964, allocations: 7.984 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.595e-05/0.00406, allocations: 55.83 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.981e-05/0.00414, allocations: 23.92 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.004155, allocations: 4 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.437e-05/0.00423, allocations: 51.84 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.031e-05/0.00427, allocations: 23.92 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.004298, allocations: 19.94 kB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.004428, allocations: 103.6 kB / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.462e-06/0.004429, allocations: 4 kB / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.00443, allocations: 0 / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.004433, allocations: 0 / 382.7 MB, free: 19.92 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.0003064/0.00474, allocations: 443.9 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.004769, allocations: 12.03 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.0048, allocations: 12.84 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.004913, allocations: 153.1 kB / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.004928, allocations: 12.38 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.004941, allocations: 384 / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.701e-05/0.005028, allocations: 62.94 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.005039, allocations: 3.938 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.005045, allocations: 0 / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.00505, allocations: 0 / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.284e-05/0.005073, allocations: 11.98 kB / 383.4 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.005246, allocations: 264.3 kB / 383.7 MB, free: 18.87 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.864e-05/0.005315, allocations: 47.17 kB / 383.7 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/0.005333, allocations: 23.67 kB / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.789e-06/0.005343, allocations: 0 / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.551e-05/0.005408, allocations: 76.91 kB / 383.8 MB, free: 18.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 8.71e-07/0.005409, allocations: 0 / 383.8 MB, free: 18.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002541/0.005663, allocations: 129.5 kB / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.983e-05/0.005683, allocations: 51.41 kB / 384 MB, free: 18.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.27e-05/0.005756, allocations: 233.8 kB / 384.2 MB, free: 18.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.005764, allocations: 33.7 kB / 384.3 MB, free: 18.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/0.005799, allocations: 146.8 kB / 384.4 MB, free: 18.06 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.005819, allocations: 23.8 kB / 384.4 MB, free: 18.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/0.005844, allocations: 39.34 kB / 384.5 MB, free: 17.99 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.967e-05/0.005884, allocations: 0.4923 MB / 385 MB, free: 17.49 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.323e-05/0.005897, allocations: 8 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.119e-05/0.005918, allocations: 31.72 kB / 385 MB, free: 17.44 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.73e-05/0.005956, allocations: 59.34 kB / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.005956, allocations: 0 / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.181e-05/0.006028, allocations: 85.53 kB / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.006037, allocations: 8 kB / 385.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.006042, allocations: 0 / 385.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.176e-06/0.00605, allocations: 4.031 kB / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.932e-05/0.006099, allocations: 19.94 kB / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.006102, allocations: 3.984 kB / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.553e-05/0.006128, allocations: 4 kB / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.006133, allocations: 4 kB / 385.2 MB, free: 17.24 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.324e-05/0.006176, allocations: 156.6 kB / 385.3 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.00619, allocations: 19.84 kB / 385.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.872e-05/0.006288, allocations: 99.06 kB / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.006291, allocations: 4 kB / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.006292, allocations: 4 kB / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.006295, allocations: 0 / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.006469, allocations: 365.6 kB / 385.8 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.00647, allocations: 0 / 385.8 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.969e-05/0.00649, allocations: 12 kB / 385.8 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.006491, allocations: 0 / 385.8 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.006497, allocations: 4 kB / 385.8 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.006498, allocations: 4 kB / 385.8 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.006499, allocations: 3.938 kB / 385.9 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.347e-05/0.006582, allocations: 251.7 kB / 386.1 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.718e-06/0.006592, allocations: 15.97 kB / 386.1 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.006606, allocations: 4 kB / 386.1 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.677e-05/0.006642, allocations: 4 kB / 386.1 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.105e-05/0.006663, allocations: 7.984 kB / 386.1 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.006673, allocations: 7.938 kB / 386.1 MB, free: 16.22 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.353e-05/0.006716, allocations: 163.1 kB / 386.3 MB, free: 16.06 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006716, allocations: 0 / 386.3 MB, free: 16.06 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001679/0.006884, allocations: 31.92 kB / 386.3 MB, free: 16.03 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.0007822/0.007666, allocations: 443.4 kB / 386.8 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.331e-05/0.00775, allocations: 47.55 kB / 386.8 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.42e-07/0.00775, allocations: 4 kB / 386.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.756e-05/0.007778, allocations: 27.61 kB / 386.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.007982, allocations: 42.69 kB / 386.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002422/0.008225, allocations: 219.9 kB / 387.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.589e-05/0.008251, allocations: 71.19 kB / 387.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.072e-05/0.008281, allocations: 13.11 kB / 387.2 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.036e-05/0.008332, allocations: 90.19 kB / 387.3 MB, free: 15.19 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.008332, allocations: 0 / 387.3 MB, free: 15.19 MB / 314.7 MB Notification: Performance of Templates: time 0.00298/0.01131, allocations: 2.058 MB / 389.3 MB, free: 13.16 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.062408593017608]