Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.001037/0.001037, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001844/0.001844, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.9771/0.9771, allocations: 177.1 MB / 205.3 MB, free: 5.117 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.2557/0.2557, allocations: 32.81 MB / 294.6 MB, free: 1.199 MB / 266.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 323.4 MB, free: 9.605 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385e-05/1.525e-05, allocations: 5.5 kB / 323.4 MB, free: 9.602 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002631/0.002646, allocations: 1.794 MB / 325.2 MB, free: 7.793 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.004057, allocations: 1.009 MB / 326.2 MB, free: 6.777 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.752e-05/0.004124, allocations: 3.938 kB / 326.2 MB, free: 6.773 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002467/0.004371, allocations: 39.7 kB / 326.2 MB, free: 6.734 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002574/0.004628, allocations: 95.48 kB / 326.3 MB, free: 6.641 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.004792, allocations: 75.66 kB / 326.4 MB, free: 6.566 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.004942, allocations: 111.6 kB / 326.5 MB, free: 6.457 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.518e-05/0.005017, allocations: 17.34 kB / 326.5 MB, free: 6.441 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.718e-05/0.005104, allocations: 51.83 kB / 326.6 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.013e-05/0.005174, allocations: 31.91 kB / 326.6 MB, free: 6.355 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.005188, allocations: 4 kB / 326.6 MB, free: 6.352 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.006e-05/0.005268, allocations: 43.92 kB / 326.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.812e-05/0.005306, allocations: 23.86 kB / 326.7 MB, free: 6.285 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.005338, allocations: 19.92 kB / 326.7 MB, free: 6.266 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.005495, allocations: 107.6 kB / 326.8 MB, free: 6.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.664e-06/0.005496, allocations: 0 / 326.8 MB, free: 6.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005497, allocations: 0 / 326.8 MB, free: 6.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.0055, allocations: 0 / 326.8 MB, free: 6.16 MB / 298.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.00033/0.00583, allocations: 313.4 kB / 327.1 MB, free: 5.832 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.005861, allocations: 16.02 kB / 327.1 MB, free: 5.816 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.00589, allocations: 8.938 kB / 327.1 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.006037, allocations: 147.4 kB / 327.3 MB, free: 5.641 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.006053, allocations: 8.375 kB / 327.3 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.00607, allocations: 384 / 327.3 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.481e-05/0.006165, allocations: 73.75 kB / 327.3 MB, free: 5.551 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.006175, allocations: 3.938 kB / 327.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-06/0.006182, allocations: 0 / 327.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.006186, allocations: 0 / 327.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.466e-05/0.006211, allocations: 8 kB / 327.3 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001911/0.006402, allocations: 161.9 kB / 327.5 MB, free: 5.363 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.697e-05/0.006489, allocations: 93.3 kB / 327.6 MB, free: 5.262 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.00651, allocations: 16.84 kB / 327.6 MB, free: 5.242 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.006519, allocations: 3.984 kB / 327.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.935e-05/0.006599, allocations: 62.16 kB / 327.7 MB, free: 5.164 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.0066, allocations: 0 / 327.7 MB, free: 5.164 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002656/0.006865, allocations: 117.5 kB / 327.8 MB, free: 5.043 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.006892, allocations: 55.34 kB / 327.8 MB, free: 4.977 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.00701, allocations: 180.8 kB / 328 MB, free: 4.785 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.007027, allocations: 37.7 kB / 328.1 MB, free: 4.742 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.195e-05/0.007059, allocations: 92.11 kB / 328.1 MB, free: 4.648 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.007086, allocations: 23.78 kB / 328.2 MB, free: 4.625 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.00712, allocations: 21.7 kB / 328.2 MB, free: 4.598 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.051e-05/0.007201, allocations: 326.8 kB / 328.5 MB, free: 4.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/0.007221, allocations: 18.77 kB / 328.5 MB, free: 4.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.579e-05/0.007247, allocations: 21.7 kB / 328.6 MB, free: 4.223 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.876e-05/0.007296, allocations: 40.52 kB / 328.6 MB, free: 4.176 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.007297, allocations: 0 / 328.6 MB, free: 4.176 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.503e-05/0.007382, allocations: 76.38 kB / 328.7 MB, free: 4.094 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.007392, allocations: 4 kB / 328.7 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.007398, allocations: 4 kB / 328.7 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.007409, allocations: 0 / 328.7 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.162e-05/0.007471, allocations: 15.98 kB / 328.7 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.007473, allocations: 0 / 328.7 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.661e-05/0.00751, allocations: 12 kB / 328.7 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.007515, allocations: 3.938 kB / 328.7 MB, free: 4.055 MB / 298.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 5.923e-05/0.007574, allocations: 112.7 kB / 328.8 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.007594, allocations: 19.92 kB / 328.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.007698, allocations: 79.09 kB / 328.9 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.0077, allocations: 0 / 328.9 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.007702, allocations: 384 / 328.9 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.007705, allocations: 0 / 328.9 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.007933, allocations: 299.4 kB / 329.2 MB, free: 3.508 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.007936, allocations: 4 kB / 329.2 MB, free: 3.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.044e-05/0.007967, allocations: 8 kB / 329.2 MB, free: 3.496 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.007969, allocations: 4 kB / 329.2 MB, free: 3.492 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.007978, allocations: 3.984 kB / 329.2 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.00798, allocations: 0 / 329.2 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.007982, allocations: 8.031 kB / 329.2 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.008108, allocations: 215 kB / 329.4 MB, free: 3.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.00812, allocations: 7.953 kB / 329.4 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.008137, allocations: 0 / 329.4 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.964e-05/0.008196, allocations: 15.97 kB / 329.5 MB, free: 3.227 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/0.008222, allocations: 11.92 kB / 329.5 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.008233, allocations: 0 / 329.5 MB, free: 3.215 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.912e-05/0.008282, allocations: 51.64 kB / 329.5 MB, free: 3.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008282, allocations: 0 / 329.5 MB, free: 3.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00021/0.008492, allocations: 27.92 kB / 329.6 MB, free: 3.133 MB / 298.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.001417/0.009909, allocations: 0.5787 MB / 330.1 MB, free: 2.863 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.269e-05/0.01, allocations: 40.78 kB / 330.2 MB, free: 2.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.01001, allocations: 8.062 kB / 330.2 MB, free: 2.812 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.613e-05/0.01004, allocations: 28.77 kB / 330.2 MB, free: 2.781 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.01026, allocations: 35.17 kB / 330.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003071/0.01056, allocations: 215.7 kB / 330.5 MB, free: 2.508 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.514e-05/0.01061, allocations: 67.34 kB / 330.5 MB, free: 2.422 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.186e-05/0.01065, allocations: 21.27 kB / 330.5 MB, free: 2.398 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.894e-05/0.01072, allocations: 67.36 kB / 330.6 MB, free: 2.332 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01072, allocations: 4.062 kB / 330.6 MB, free: 2.328 MB / 298.7 MB Notification: Performance of Templates: time 0.00381/0.01453, allocations: 2.012 MB / 332.6 MB, free: 352 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.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: 2.890065222978592]