Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.001034/0.001034, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001165/0.001165, allocations: 164.5 kB / 24.99 MB, free: 8.746 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 1.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.248/0.248, allocations: 34.26 MB / 296 MB, free: 0.7852 MB / 266.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.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.306e-06/3.306e-06, allocations: 3.938 kB / 378 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.701e-05, allocations: 2.312 kB / 378.1 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.002384/0.002411, allocations: 1.72 MB / 379.8 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000754/0.003165, allocations: 0.5413 MB / 380.3 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.082e-05/0.003226, allocations: 0 / 380.3 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002624/0.003489, allocations: 55.69 kB / 380.4 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.003727, allocations: 91.53 kB / 380.5 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.003948, allocations: 135.5 kB / 380.6 MB, free: 420 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.004097, allocations: 79.83 kB / 380.7 MB, free: 340 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.004199, allocations: 20.14 kB / 380.7 MB, free: 316 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.449e-05/0.004273, allocations: 35.91 kB / 380.7 MB, free: 280 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.524e-05/0.004358, allocations: 43.89 kB / 380.8 MB, free: 236 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.004374, allocations: 4 kB / 380.8 MB, free: 232 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.317e-05/0.004457, allocations: 55.84 kB / 380.8 MB, free: 176 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.158e-05/0.004528, allocations: 23.92 kB / 380.8 MB, free: 152 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.004559, allocations: 19.92 kB / 380.9 MB, free: 132 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.004724, allocations: 87.72 kB / 381 MB, free: 44 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.004727, allocations: 0 / 381 MB, free: 44 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.004728, allocations: 0 / 381 MB, free: 44 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.237e-06/0.004732, allocations: 0 / 381 MB, free: 44 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004966/0.005229, allocations: 436.1 kB / 381.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.005277, allocations: 15.97 kB / 381.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.553e-05/0.005332, allocations: 16.84 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.005509, allocations: 147.9 kB / 381.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.005521, allocations: 384 / 381.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.005545, allocations: 8.375 kB / 381.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.005693, allocations: 66.69 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.005706, allocations: 0 / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.005719, allocations: 4 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.005728, allocations: 3.938 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003135/0.006042, allocations: 11.98 kB / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.00641, allocations: 303.7 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.006615, allocations: 51.08 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.011e-05/0.006645, allocations: 15.67 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.006666, allocations: 0 / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.006689, allocations: 37.52 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.00669, allocations: 0 / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006605/0.00735, allocations: 245.6 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.007388, allocations: 59.41 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.007525, allocations: 216.1 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.00754, allocations: 25.7 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.251e-05/0.007602, allocations: 154.8 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.007636, allocations: 39.69 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.007674, allocations: 31.36 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.007801, allocations: 0.4923 MB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.118e-05/0.007832, allocations: 19.94 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.696e-05/0.007859, allocations: 15.98 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.338e-05/0.007923, allocations: 47.69 kB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.007924, allocations: 0 / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001139/0.008037, allocations: 97.45 kB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.008051, allocations: 8 kB / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.008056, allocations: 0 / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.008071, allocations: 0 / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.553e-05/0.008146, allocations: 23.98 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.008154, allocations: 4 kB / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.574e-05/0.008179, allocations: 11.92 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.008185, allocations: 0 / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 7.283e-05/0.008258, allocations: 164.6 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.008282, allocations: 15.94 kB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.008438, allocations: 110.8 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.00844, allocations: 0 / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.008444, allocations: 0 / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.008451, allocations: 3.938 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003308/0.008782, allocations: 416.6 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.008783, allocations: 0 / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.043e-05/0.008834, allocations: 24.23 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.008835, allocations: 4 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.008846, allocations: 7.938 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.008848, allocations: 4 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.008849, allocations: 0 / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.00899, allocations: 255.2 kB / 384.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.066e-05/0.009, allocations: 11.91 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.009016, allocations: 7.938 kB / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.569e-05/0.009072, allocations: 11.98 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.009108, allocations: 11.98 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.009113, allocations: 0 / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.898e-05/0.009182, allocations: 165.9 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009182, allocations: 0 / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001693/0.009351, allocations: 27.94 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0009268/0.01028, allocations: 436.1 kB / 385.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.0104, allocations: 63.59 kB / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.0104, allocations: 0 / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.245e-05/0.01045, allocations: 35.61 kB / 385.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.01066, allocations: 30.61 kB / 385.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003772/0.01103, allocations: 249.6 kB / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.759e-05/0.01108, allocations: 71.34 kB / 385.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.359e-05/0.01112, allocations: 20.47 kB / 385.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.01115, allocations: 16.5 kB / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01116, allocations: 0 / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of Templates: time 0.003119/0.01427, allocations: 1.579 MB / 387.2 MB, free: 9.59 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.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.172872881870717]