Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007448/0.0007448, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00124/0.001985, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007884/0.0007884, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001139/0.001927, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8699/0.8699, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1717/1.042, allocations: 52.49 MB / 238.5 MB, free: 7.617 MB / 234.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.1494/0.1494, allocations: 32.8 MB / 272 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02225/0.1716, allocations: 12.54 MB / 284.5 MB, free: 9.715 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 285.9 MB, free: 8.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.671e-05, allocations: 6.312 kB / 285.9 MB, free: 8.312 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002482/0.002499, allocations: 1.787 MB / 287.7 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004185/0.006684, allocations: 0.8843 MB / 288.6 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.678e-05/0.006751, allocations: 0 / 288.6 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.006944, allocations: 47.77 kB / 288.7 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.007091, allocations: 63.56 kB / 288.7 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.007343, allocations: 119.5 kB / 288.8 MB, free: 5.398 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.007495, allocations: 91.7 kB / 288.9 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.695e-05/0.007572, allocations: 20.16 kB / 288.9 MB, free: 5.285 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.0077, allocations: 75.77 kB / 289 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.899e-05/0.007769, allocations: 23.92 kB / 289 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.007787, allocations: 4 kB / 289 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.591e-05/0.007873, allocations: 47.86 kB / 289.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.645e-05/0.00792, allocations: 19.92 kB / 289.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.281e-05/0.007952, allocations: 19.88 kB / 289.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.008126, allocations: 103.7 kB / 289.2 MB, free: 4.996 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.024e-05/0.008136, allocations: 0 / 289.2 MB, free: 4.996 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.008137, allocations: 0 / 289.2 MB, free: 4.996 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.008146, allocations: 0 / 289.2 MB, free: 4.996 MB / 282.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.003434/0.01158, allocations: 371.6 kB / 289.6 MB, free: 4.609 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/0.01161, allocations: 8.031 kB / 289.6 MB, free: 4.602 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.01164, allocations: 4.938 kB / 289.6 MB, free: 4.598 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.01181, allocations: 165.2 kB / 289.8 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.01182, allocations: 4.359 kB / 289.8 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.01184, allocations: 4.375 kB / 289.8 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.01195, allocations: 61.77 kB / 289.8 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.01196, allocations: 3.938 kB / 289.8 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.573e-06/0.01197, allocations: 0 / 289.8 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.01197, allocations: 0 / 289.8 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.384e-05/0.012, allocations: 12 kB / 289.9 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002145/0.01221, allocations: 177.9 kB / 290 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.841e-05/0.01231, allocations: 81.3 kB / 290.1 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.236e-05/0.01233, allocations: 12.84 kB / 290.1 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.01234, allocations: 0 / 290.1 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001025/0.01245, allocations: 70.14 kB / 290.2 MB, free: 3.938 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.01245, allocations: 0 / 290.2 MB, free: 3.938 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003239/0.01277, allocations: 113.5 kB / 290.3 MB, free: 3.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.0128, allocations: 55.41 kB / 290.4 MB, free: 3.754 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.01295, allocations: 208.6 kB / 290.6 MB, free: 3.535 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.01297, allocations: 25.7 kB / 290.6 MB, free: 3.504 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.786e-05/0.013, allocations: 96.11 kB / 290.7 MB, free: 3.406 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.01303, allocations: 31.77 kB / 290.7 MB, free: 3.375 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.01307, allocations: 25.66 kB / 290.7 MB, free: 3.344 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.709e-05/0.01316, allocations: 330.8 kB / 291.1 MB, free: 3.012 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/0.01317, allocations: 6.828 kB / 291.1 MB, free: 3.004 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.702e-05/0.0132, allocations: 25.7 kB / 291.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.82e-05/0.01325, allocations: 44.45 kB / 291.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.01325, allocations: 4 kB / 291.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.747e-05/0.01335, allocations: 84.42 kB / 291.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.01336, allocations: 4 kB / 291.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.01337, allocations: 0 / 291.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.01338, allocations: 3.984 kB / 291.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.198e-05/0.01346, allocations: 23.92 kB / 291.2 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-06/0.01346, allocations: 0 / 291.2 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.352e-05/0.0135, allocations: 4 kB / 291.3 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.0135, allocations: 0 / 291.3 MB, free: 2.793 MB / 282.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 6.596e-05/0.01357, allocations: 120.7 kB / 291.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.01359, allocations: 15.92 kB / 291.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.0137, allocations: 79.06 kB / 291.5 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.0137, allocations: 4 kB / 291.5 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.0137, allocations: 0 / 291.5 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.0137, allocations: 0 / 291.5 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.01393, allocations: 299.4 kB / 291.8 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01394, allocations: 0 / 291.8 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.562e-05/0.01397, allocations: 16.36 kB / 291.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.404e-05/0.01399, allocations: 11.94 kB / 291.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.01399, allocations: 4 kB / 291.8 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.014, allocations: 8 kB / 291.8 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.014, allocations: 0 / 291.8 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.014, allocations: 0 / 291.8 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.01411, allocations: 219 kB / 292 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.01413, allocations: 4 kB / 292 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.527e-05/0.01419, allocations: 0 / 292 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.422e-05/0.01421, allocations: 11.98 kB / 292 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.01422, allocations: 4 kB / 292 MB, free: 1.949 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.443e-05/0.01429, allocations: 71.61 kB / 292.1 MB, free: 1.875 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01429, allocations: 4 kB / 292.1 MB, free: 1.871 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.003209/0.01749, allocations: 23.94 kB / 292.1 MB, free: 1.848 MB / 282.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.001578/0.01907, allocations: 0.6463 MB / 292.8 MB, free: 1.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.832e-05/0.01917, allocations: 48.81 kB / 292.8 MB, free: 1.469 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.587e-06/0.01918, allocations: 4 kB / 292.8 MB, free: 1.465 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.299e-05/0.01922, allocations: 24.84 kB / 292.9 MB, free: 1.438 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.0195, allocations: 183.7 kB / 293 MB, free: 1.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004785/0.01997, allocations: 263.6 kB / 293.3 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.645e-05/0.02002, allocations: 71.33 kB / 293.4 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.027e-05/0.02006, allocations: 20.67 kB / 293.4 MB, free: 0.832 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.866e-05/0.02013, allocations: 71.36 kB / 293.4 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02013, allocations: 0 / 293.4 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of Templates: time 0.01003/0.03016, allocations: 2.039 MB / 295.5 MB, free: 14.76 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.856895122677088]