Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.001009/0.001009, 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.001028/0.001028, 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 0.9519/0.9519, allocations: 177.2 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.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.1429/0.1429, allocations: 34.24 MB / 296.8 MB, free: 13.92 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 379.4 MB, free: 23.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.457e-05, allocations: 3.188 kB / 379.4 MB, free: 23.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003171/0.003196, allocations: 1.922 MB / 381.3 MB, free: 21.36 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.004542, allocations: 1.091 MB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.004642, allocations: 0 / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.004958, allocations: 163.3 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003468/0.005304, allocations: 191.2 kB / 382.8 MB, free: 19.92 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.005547, allocations: 115.5 kB / 382.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.005761, allocations: 251.2 kB / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.005863, allocations: 21.94 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.005999, allocations: 139.6 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.006121, allocations: 131.7 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.006141, allocations: 8 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.00625, allocations: 63.86 kB / 383.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.035e-05/0.006321, allocations: 59.77 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.306e-05/0.006384, allocations: 47.78 kB / 383.6 MB, free: 19.1 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.00663, allocations: 179.3 kB / 383.8 MB, free: 18.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.006634, allocations: 3.938 kB / 383.8 MB, free: 18.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.006635, allocations: 0 / 383.8 MB, free: 18.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.00664, allocations: 4 kB / 383.8 MB, free: 18.91 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004387/0.007079, allocations: 0.577 MB / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.00711, allocations: 8.031 kB / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/0.007158, allocations: 32.8 kB / 384.4 MB, free: 18.26 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.007323, allocations: 208.6 kB / 384.6 MB, free: 18.03 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.00734, allocations: 4.375 kB / 384.6 MB, free: 18.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.00736, allocations: 16.33 kB / 384.6 MB, free: 18.01 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.007491, allocations: 113.3 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.007501, allocations: 3.938 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.00751, allocations: 8 kB / 384.7 MB, free: 17.87 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.007515, allocations: 3.938 kB / 384.7 MB, free: 17.87 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.835e-05/0.007553, allocations: 23.97 kB / 384.7 MB, free: 17.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000295/0.007848, allocations: 463.1 kB / 385.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.008032, allocations: 110 kB / 385.3 MB, free: 17.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.396e-05/0.008066, allocations: 39.59 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.008081, allocations: 7.938 kB / 385.4 MB, free: 17.17 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/0.0082, allocations: 116.3 kB / 385.5 MB, free: 17.04 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.008201, allocations: 0 / 385.5 MB, free: 17.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007094/0.008911, allocations: 366.1 kB / 385.8 MB, free: 16.67 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.008944, allocations: 81.11 kB / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.009103, allocations: 354.1 kB / 386.3 MB, free: 16.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.00912, allocations: 29.7 kB / 386.3 MB, free: 16.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.673e-05/0.009187, allocations: 207.2 kB / 386.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.851e-05/0.009235, allocations: 75.38 kB / 386.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/0.00929, allocations: 51.34 kB / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.591e-05/0.009366, allocations: 0.5157 MB / 387.1 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.62e-05/0.009402, allocations: 31.91 kB / 387.2 MB, free: 15.28 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.93e-05/0.009451, allocations: 72.45 kB / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.745e-05/0.009539, allocations: 110.6 kB / 387.3 MB, free: 15.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.00954, allocations: 4 kB / 387.3 MB, free: 15.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001714/0.009712, allocations: 189.5 kB / 387.5 MB, free: 14.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.009726, allocations: 8.062 kB / 387.5 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.009731, allocations: 0 / 387.5 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.009743, allocations: 4 kB / 387.5 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.098e-05/0.009834, allocations: 47.91 kB / 387.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.009839, allocations: 4 kB / 387.6 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.888e-05/0.009888, allocations: 11.94 kB / 387.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.009896, allocations: 4 kB / 387.6 MB, free: 14.8 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.177e-05/0.009978, allocations: 176.5 kB / 387.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.01001, allocations: 31.81 kB / 387.8 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/0.01024, allocations: 215.7 kB / 388 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01024, allocations: 4 kB / 388 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.01024, allocations: 0 / 388 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.01025, allocations: 3.938 kB / 388 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000378/0.01062, allocations: 0.6869 MB / 388.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.01063, allocations: 4 kB / 388.7 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.133e-05/0.01068, allocations: 35.86 kB / 388.7 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.01068, allocations: 7.938 kB / 388.8 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.01069, allocations: 8.125 kB / 388.8 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.01069, allocations: 8 kB / 388.8 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.0107, allocations: 0 / 388.8 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.01089, allocations: 0.4966 MB / 389.3 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.01091, allocations: 27.75 kB / 389.3 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.01093, allocations: 12 kB / 389.3 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.739e-05/0.01101, allocations: 11.98 kB / 389.3 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.01105, allocations: 19.97 kB / 389.3 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.01106, allocations: 8 kB / 389.3 MB, free: 12.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.679e-05/0.01114, allocations: 230.9 kB / 389.6 MB, free: 12.72 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01114, allocations: 4 kB / 389.6 MB, free: 12.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002391/0.01138, allocations: 55.92 kB / 389.6 MB, free: 12.66 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001096/0.01247, allocations: 498.8 kB / 390.1 MB, free: 12.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001589/0.01263, allocations: 111.5 kB / 390.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01263, allocations: 0 / 390.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.54e-05/0.01269, allocations: 67.52 kB / 390.3 MB, free: 12.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.01303, allocations: 71.34 kB / 390.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/0.01346, allocations: 459.4 kB / 390.8 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.519e-05/0.0135, allocations: 100.5 kB / 390.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.863e-05/0.01357, allocations: 37.92 kB / 390.9 MB, free: 11.45 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.071e-05/0.01366, allocations: 118.1 kB / 391.1 MB, free: 11.34 MB / 314.7 MB Notification: Performance of SimCode: time 5.92e-07/0.01366, allocations: 0 / 391.1 MB, free: 11.34 MB / 314.7 MB Notification: Performance of Templates: time 0.004991/0.01865, allocations: 3.724 MB / 394.8 MB, free: 7.676 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.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.2159051061607897]