Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.001164/0.001164, allocations: 80.41 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.001374/0.001374, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.9806/0.9806, allocations: 177.1 MB / 206 MB, free: 4.523 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.1728/0.1728, allocations: 32.8 MB / 295.4 MB, free: 15.39 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 377.3 MB, free: 25.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.962e-05/3.166e-05, allocations: 9.625 kB / 377.3 MB, free: 25.53 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002935/0.002967, allocations: 1.832 MB / 379.2 MB, free: 23.68 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002078/0.005046, allocations: 1.781 MB / 381 MB, free: 21.89 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.005168, allocations: 3.938 kB / 381 MB, free: 21.89 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.005498, allocations: 59.61 kB / 381 MB, free: 21.83 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004196/0.005918, allocations: 151.1 kB / 381.2 MB, free: 21.69 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.006175, allocations: 107.6 kB / 381.3 MB, free: 21.58 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.0064, allocations: 211.2 kB / 381.5 MB, free: 21.38 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.87e-05/0.006449, allocations: 13.75 kB / 381.5 MB, free: 21.36 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.006564, allocations: 107.7 kB / 381.6 MB, free: 21.26 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.006702, allocations: 63.8 kB / 381.7 MB, free: 21.2 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.006723, allocations: 11.94 kB / 381.7 MB, free: 21.18 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.006908, allocations: 103.9 kB / 381.8 MB, free: 21.08 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.138e-05/0.00697, allocations: 35.84 kB / 381.8 MB, free: 21.05 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.634e-05/0.007016, allocations: 39.86 kB / 381.8 MB, free: 21.01 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.007303, allocations: 211.2 kB / 382.1 MB, free: 20.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.007307, allocations: 0 / 382.1 MB, free: 20.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.007308, allocations: 0 / 382.1 MB, free: 20.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.007313, allocations: 0 / 382.1 MB, free: 20.8 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005042/0.007817, allocations: 0.5265 MB / 382.6 MB, free: 20.24 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.007853, allocations: 11.98 kB / 382.6 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.162e-05/0.007905, allocations: 20.84 kB / 382.6 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.008085, allocations: 184.3 kB / 382.8 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.008103, allocations: 384 / 382.8 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.008114, allocations: 4.375 kB / 382.8 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.008265, allocations: 169 kB / 383 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.008274, allocations: 3.938 kB / 383 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.008282, allocations: 0 / 383 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.008288, allocations: 4 kB / 383 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.239e-05/0.00832, allocations: 23.95 kB / 383 MB, free: 19.76 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001367/0.008457, allocations: 136.9 kB / 383.1 MB, free: 19.6 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.008581, allocations: 94.14 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.909e-05/0.00861, allocations: 31.36 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.008623, allocations: 4 kB / 383.3 MB, free: 19.44 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001058/0.008728, allocations: 108.3 kB / 383.4 MB, free: 19.31 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.008729, allocations: 0 / 383.4 MB, free: 19.31 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.000206/0.008935, allocations: 133.4 kB / 383.5 MB, free: 19.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.008965, allocations: 136.5 kB / 383.6 MB, free: 19.01 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.009098, allocations: 278.5 kB / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.009109, allocations: 25.7 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.718e-05/0.009146, allocations: 162.8 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.009179, allocations: 35.83 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/0.009213, allocations: 39.3 kB / 384.2 MB, free: 18.44 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.134e-05/0.009264, allocations: 0.5001 MB / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.108e-05/0.009285, allocations: 11.98 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.477e-05/0.00933, allocations: 125.4 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.237e-05/0.009392, allocations: 75.22 kB / 384.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.009395, allocations: 0 / 384.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001179/0.009512, allocations: 117.5 kB / 385 MB, free: 17.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.009524, allocations: 4 kB / 385 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.00953, allocations: 7.984 kB / 385 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.009541, allocations: 3.938 kB / 385 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.859e-05/0.009619, allocations: 16 kB / 385 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.009624, allocations: 7.938 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.963e-05/0.009673, allocations: 15.92 kB / 385 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.00968, allocations: 4 kB / 385 MB, free: 17.48 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 6.382e-05/0.009744, allocations: 160.6 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.009769, allocations: 23.86 kB / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001508/0.00992, allocations: 142.8 kB / 385.4 MB, free: 17.15 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.009923, allocations: 3.938 kB / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.009926, allocations: 4 kB / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.009931, allocations: 3.984 kB / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.821e-05/0.01003, allocations: 133.2 kB / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01003, allocations: 0 / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.966e-05/0.01006, allocations: 16.23 kB / 385.5 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01006, allocations: 0 / 385.5 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.01007, allocations: 8 kB / 385.5 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.01007, allocations: 0 / 385.5 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.01007, allocations: 7.938 kB / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.0102, allocations: 183.8 kB / 385.7 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.13e-05/0.01022, allocations: 15.84 kB / 385.7 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.01024, allocations: 7.984 kB / 385.7 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.88e-05/0.01028, allocations: 4 kB / 385.7 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.01031, allocations: 11.92 kB / 385.7 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.01033, allocations: 4 kB / 385.7 MB, free: 16.7 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.664e-05/0.01039, allocations: 193.7 kB / 385.9 MB, free: 16.51 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01039, allocations: 4 kB / 385.9 MB, free: 16.51 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002237/0.01062, allocations: 55.86 kB / 386 MB, free: 16.45 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.001079/0.0117, allocations: 0.494 MB / 386.5 MB, free: 16.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001307/0.01183, allocations: 67.34 kB / 386.6 MB, free: 16.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01183, allocations: 0 / 386.6 MB, free: 16.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.801e-05/0.01187, allocations: 47.7 kB / 386.6 MB, free: 16.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.01211, allocations: 68.53 kB / 386.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.01247, allocations: 280.2 kB / 386.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.946e-05/0.0125, allocations: 75.86 kB / 387 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.576e-05/0.01256, allocations: 25.47 kB / 387 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.01267, allocations: 122.2 kB / 387.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01267, allocations: 4 kB / 387.2 MB, free: 15.4 MB / 314.7 MB Notification: Performance of Templates: time 0.005092/0.01776, allocations: 3.82 MB / 391 MB, free: 11.65 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.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.4154501231387258]