Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.001081/0.001081, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.002122/0.002122, allocations: 173 kB / 24.25 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9624/0.9624, allocations: 158.6 MB / 186 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1354/0.1354, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test78,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 347.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.332e-05, allocations: 8.219 kB / 347.8 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.001932/0.001955, allocations: 1.87 MB / 349.6 MB, free: 7.816 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009133/0.002868, allocations: 0.8777 MB / 350.5 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.457e-05/0.002953, allocations: 7.938 kB / 350.5 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000338/0.003291, allocations: 251.2 kB / 350.8 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.003536, allocations: 195.3 kB / 350.9 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.003792, allocations: 147.5 kB / 351.1 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000204/0.003996, allocations: 251.2 kB / 351.3 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.539e-05/0.004082, allocations: 13.8 kB / 351.3 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.004203, allocations: 147.6 kB / 351.5 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.004344, allocations: 195.6 kB / 351.7 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.004364, allocations: 4 kB / 351.7 MB, free: 5.742 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.239e-05/0.004436, allocations: 43.92 kB / 351.7 MB, free: 5.699 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.836e-05/0.004494, allocations: 63.77 kB / 351.8 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.004544, allocations: 43.8 kB / 351.8 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.004733, allocations: 179.3 kB / 352 MB, free: 5.418 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004735, allocations: 0 / 352 MB, free: 5.418 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004735, allocations: 0 / 352 MB, free: 5.418 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.00474, allocations: 0 / 352 MB, free: 5.418 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004018/0.005142, allocations: 0.5963 MB / 352.6 MB, free: 4.785 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.005172, allocations: 16.02 kB / 352.6 MB, free: 4.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.005222, allocations: 36.75 kB / 352.7 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.005381, allocations: 224.5 kB / 352.9 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.005397, allocations: 384 / 352.9 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.005417, allocations: 12.38 kB / 352.9 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.005544, allocations: 102.2 kB / 353 MB, free: 4.359 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.005554, allocations: 7.938 kB / 353 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.005564, allocations: 0 / 353 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.005571, allocations: 0 / 353 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.85e-05/0.00562, allocations: 35.91 kB / 353 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003056/0.005925, allocations: 0.4908 MB / 353.5 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.00605, allocations: 110.2 kB / 353.6 MB, free: 3.652 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.685e-05/0.006086, allocations: 35.36 kB / 353.7 MB, free: 3.609 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.006098, allocations: 4 kB / 353.7 MB, free: 3.605 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/0.006204, allocations: 116.3 kB / 353.8 MB, free: 3.469 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 7.72e-07/0.006204, allocations: 4 kB / 353.8 MB, free: 3.465 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004478/0.006652, allocations: 345.1 kB / 354.1 MB, free: 3.121 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.006681, allocations: 81.11 kB / 354.2 MB, free: 3.023 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.006872, allocations: 414.8 kB / 354.6 MB, free: 2.602 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.006882, allocations: 33.7 kB / 354.6 MB, free: 2.562 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.189e-05/0.006944, allocations: 211.1 kB / 354.8 MB, free: 2.352 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.006973, allocations: 43.64 kB / 354.9 MB, free: 2.309 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.007023, allocations: 47.31 kB / 354.9 MB, free: 2.254 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.124e-05/0.007084, allocations: 0.5313 MB / 355.5 MB, free: 1.711 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.546e-05/0.00712, allocations: 28.05 kB / 355.5 MB, free: 1.684 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.493e-05/0.007165, allocations: 73.81 kB / 355.6 MB, free: 1.598 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.269e-05/0.007247, allocations: 106.8 kB / 355.7 MB, free: 1.477 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.007248, allocations: 0 / 355.7 MB, free: 1.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001329/0.007381, allocations: 157.3 kB / 355.8 MB, free: 1.316 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.007392, allocations: 8 kB / 355.8 MB, free: 1.309 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.007396, allocations: 0 / 355.8 MB, free: 1.309 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.007407, allocations: 0 / 355.8 MB, free: 1.309 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.306e-05/0.00749, allocations: 36.05 kB / 355.9 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.007499, allocations: 7.938 kB / 355.9 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.204e-05/0.007541, allocations: 11.92 kB / 355.9 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.00755, allocations: 12 kB / 355.9 MB, free: 1.242 MB / 282.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 (20): * Single equations (assignments): 20 * 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.538e-05/0.007615, allocations: 164.5 kB / 356.1 MB, free: 1.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.007642, allocations: 43.75 kB / 356.1 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001931/0.007835, allocations: 184.4 kB / 356.3 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.007838, allocations: 4 kB / 356.3 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.007842, allocations: 0 / 356.3 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.007845, allocations: 0 / 356.3 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/0.008186, allocations: 0.6676 MB / 357 MB, free: 120 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.008187, allocations: 7.938 kB / 357 MB, free: 112 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.513e-05/0.008223, allocations: 19.98 kB / 357 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.008225, allocations: 0 / 357 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.008234, allocations: 8 kB / 357 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.008237, allocations: 12.23 kB / 357 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.008239, allocations: 3.938 kB / 357 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.00851, allocations: 462.2 kB / 357.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.305e-05/0.008533, allocations: 27.86 kB / 357.5 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.008558, allocations: 12 kB / 357.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-05/0.008634, allocations: 4 kB / 357.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.008676, allocations: 27.84 kB / 357.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.00869, allocations: 4 kB / 357.5 MB, free: 15.51 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001592/0.008849, allocations: 283.1 kB / 357.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008849, allocations: 0 / 357.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002118/0.009061, allocations: 47.92 kB / 357.9 MB, free: 15.19 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (18): * Single equations (assignments): 14 * 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.001124/0.01018, allocations: 438.3 kB / 358.3 MB, free: 14.85 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001521/0.01034, allocations: 106.9 kB / 358.4 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.01034, allocations: 4 kB / 358.4 MB, free: 14.74 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.005e-05/0.0104, allocations: 55.59 kB / 358.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.01071, allocations: 61.41 kB / 358.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004893/0.0112, allocations: 469 kB / 359 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.426e-05/0.01127, allocations: 95.95 kB / 359.1 MB, free: 14.01 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.777e-05/0.01132, allocations: 34.22 kB / 359.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.022e-05/0.01136, allocations: 28.5 kB / 359.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01136, allocations: 0 / 359.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of Templates: time 0.00435/0.01571, allocations: 2.945 MB / 362.1 MB, free: 11.03 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.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.192041957983747]