Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.00103/0.00103, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.000997/0.000997, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.9943/0.9943, allocations: 177.1 MB / 205 MB, free: 5.266 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.247/0.247, allocations: 32.81 MB / 294.3 MB, free: 1.242 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.CombiTable2Ds.Test27,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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/2.953e-05, allocations: 10.25 kB / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.003403/0.003433, allocations: 1.72 MB / 377.8 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.00458, allocations: 0.5452 MB / 378.3 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.133e-05/0.004651, allocations: 11.94 kB / 378.3 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.004962, allocations: 51.81 kB / 378.4 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003775/0.00534, allocations: 99.45 kB / 378.5 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.005706, allocations: 131.6 kB / 378.6 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.005891, allocations: 91.69 kB / 378.7 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.005998, allocations: 20.22 kB / 378.7 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.505e-05/0.006083, allocations: 43.89 kB / 378.8 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.006192, allocations: 43.89 kB / 378.8 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.006208, allocations: 4 kB / 378.8 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.00632, allocations: 51.91 kB / 378.8 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.423e-05/0.006394, allocations: 19.92 kB / 378.9 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.006426, allocations: 23.91 kB / 378.9 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.006629, allocations: 95.59 kB / 379 MB, free: 1.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.006633, allocations: 0 / 379 MB, free: 1.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.006634, allocations: 4 kB / 379 MB, free: 1.676 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.006639, allocations: 4 kB / 379 MB, free: 1.672 MB / 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.0004886/0.007128, allocations: 443.9 kB / 379.4 MB, free: 1.203 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.007169, allocations: 8.031 kB / 379.4 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.857e-05/0.007227, allocations: 16.89 kB / 379.4 MB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.00739, allocations: 136.5 kB / 379.6 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.007403, allocations: 4.312 kB / 379.6 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.007426, allocations: 4.375 kB / 379.6 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.007577, allocations: 70.94 kB / 379.7 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.00759, allocations: 4.172 kB / 379.7 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.007601, allocations: 4.125 kB / 379.7 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.007608, allocations: 4 kB / 379.7 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.424e-05/0.007652, allocations: 8 kB / 379.7 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.008011, allocations: 307.6 kB / 380 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.008211, allocations: 50.98 kB / 380 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.089e-05/0.008242, allocations: 11.69 kB / 380 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.008261, allocations: 4 kB / 380 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.008288, allocations: 45.55 kB / 380.1 MB, free: 452 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.008289, allocations: 0 / 380.1 MB, free: 452 kB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.000767/0.009056, allocations: 241.6 kB / 380.3 MB, free: 204 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.009092, allocations: 51.41 kB / 380.4 MB, free: 140 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.009265, allocations: 226.4 kB / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.009283, allocations: 29.7 kB / 380.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.561e-05/0.009349, allocations: 150.8 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.009387, allocations: 35.69 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.694e-05/0.009434, allocations: 31.38 kB / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.009571, allocations: 0.5 MB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.952e-05/0.00961, allocations: 19.98 kB / 381.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.291e-05/0.009643, allocations: 15.94 kB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.166e-05/0.009725, allocations: 47.67 kB / 381.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.009726, allocations: 0 / 381.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001472/0.009873, allocations: 93.53 kB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.009889, allocations: 8 kB / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.009895, allocations: 3.984 kB / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.009909, allocations: 0 / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.212e-05/0.01, allocations: 23.92 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.01001, allocations: 4 kB / 381.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.493e-05/0.01004, allocations: 8 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.01005, allocations: 0 / 381.6 MB, free: 14.89 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 8.283e-05/0.01013, allocations: 168.5 kB / 381.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.01017, allocations: 15.95 kB / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.01037, allocations: 114.8 kB / 381.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.01038, allocations: 0 / 381.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.01038, allocations: 7.938 kB / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01038, allocations: 0 / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004295/0.01081, allocations: 412.6 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.01082, allocations: 0 / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.808e-05/0.01089, allocations: 27.92 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.0109, allocations: 0 / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.01091, allocations: 7.984 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.01091, allocations: 3.938 kB / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.01091, allocations: 4.188 kB / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.01111, allocations: 263.2 kB / 382.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.711e-05/0.01113, allocations: 15.94 kB / 382.6 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.01115, allocations: 0 / 382.6 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.132e-05/0.01122, allocations: 15.94 kB / 382.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.01126, allocations: 11.98 kB / 382.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.01127, allocations: 4 kB / 382.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.298e-05/0.01136, allocations: 159.2 kB / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01136, allocations: 0 / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002907/0.01165, allocations: 27.98 kB / 382.8 MB, free: 13.56 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.00121/0.01286, allocations: 428.2 kB / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.01302, allocations: 59.59 kB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01302, allocations: 4 kB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.515e-05/0.01308, allocations: 39.61 kB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.01341, allocations: 22.42 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004797/0.01389, allocations: 264.4 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.146e-05/0.01394, allocations: 67.34 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.896e-05/0.014, allocations: 20.59 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/0.01404, allocations: 20.5 kB / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.01404, allocations: 0 / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of Templates: time 0.004505/0.01855, allocations: 1.698 MB / 385.4 MB, free: 11.07 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.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.0900624939240515]