Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.001236/0.001236, allocations: 78.66 kB / 21.42 MB, free: 3.07 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.001425/0.001425, allocations: 171.2 kB / 24.82 MB, free: 9.262 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.266/1.266, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.4179/0.4179, allocations: 34.26 MB / 296.1 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 179] 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.991e-05/4.186e-05, allocations: 2.312 kB / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.004726/0.004768, allocations: 1.695 MB / 380.2 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.006358, allocations: 0.8104 MB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.522e-05/0.006413, allocations: 0 / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000338/0.006751, allocations: 23.8 kB / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.007047, allocations: 47.75 kB / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.382e-06/0.007054, allocations: 8 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.007238, allocations: 31.84 kB / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.405e-05/0.007292, allocations: 3.984 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.007419, allocations: 11.94 kB / 381.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.06e-05/0.007459, allocations: 11.98 kB / 381.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.007473, allocations: 0 / 381.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.333e-05/0.007547, allocations: 19.97 kB / 381.2 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.007602, allocations: 15.94 kB / 381.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.33e-05/0.007625, allocations: 7.938 kB / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.007813, allocations: 63.64 kB / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.007819, allocations: 0 / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.007821, allocations: 0 / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.007828, allocations: 0 / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004472/0.008275, allocations: 392.4 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/0.008333, allocations: 12.03 kB / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.664e-05/0.00838, allocations: 12.88 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.008549, allocations: 120.5 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.008562, allocations: 4.375 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.008572, allocations: 4.312 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.008748, allocations: 114.9 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.008758, allocations: 4.188 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.008766, allocations: 384 / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.339e-05/0.008829, allocations: 24.3 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.043e-05/0.00888, allocations: 35.83 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007993/0.009679, allocations: 1.173 MB / 383.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.009785, allocations: 269.4 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.06e-05/0.009826, allocations: 126.9 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.06e-05/0.009876, allocations: 123.2 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.579e-05/0.009932, allocations: 160.6 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.009933, allocations: 0 / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.135e-05/0.009984, allocations: 37.66 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.01004, allocations: 174.5 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.01021, allocations: 247 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.01022, allocations: 25.7 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.039e-05/0.01031, allocations: 210.2 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.226e-06/0.01031, allocations: 3.938 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.01036, allocations: 55.3 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.0105, allocations: 0.4962 MB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.259e-05/0.01052, allocations: 8 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.01064, allocations: 197.6 kB / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.01079, allocations: 229.5 kB / 385.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01079, allocations: 0 / 385.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001701/0.01096, allocations: 161.2 kB / 385.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.01097, allocations: 4 kB / 385.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.01098, allocations: 4 kB / 385.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.01099, allocations: 8 kB / 385.6 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.343e-05/0.01108, allocations: 36.55 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.01109, allocations: 15.88 kB / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.398e-05/0.01116, allocations: 27.84 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.01116, allocations: 8 kB / 385.7 MB, free: 10.72 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (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 0.0001133/0.01128, allocations: 287.6 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/0.01134, allocations: 156.8 kB / 386.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.832e-05/0.01141, allocations: 160.6 kB / 386.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.714e-05/0.01149, allocations: 272.1 kB / 386.6 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.917e-05/0.01157, allocations: 272 kB / 386.8 MB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.109e-05/0.01165, allocations: 272.1 kB / 387.1 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.01187, allocations: 496.5 kB / 387.6 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-05/0.01191, allocations: 152.8 kB / 387.7 MB, free: 8.613 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.091e-05/0.01195, allocations: 148.9 kB / 387.9 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.585e-05/0.01203, allocations: 268 kB / 388.1 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.893e-05/0.01211, allocations: 268.1 kB / 388.4 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.433e-05/0.01219, allocations: 268.1 kB / 388.7 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.701e-05/0.01228, allocations: 276 kB / 388.9 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.01245, allocations: 455.9 kB / 389.4 MB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.01251, allocations: 152.8 kB / 389.5 MB, free: 6.746 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.86e-05/0.01261, allocations: 268.1 kB / 389.8 MB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.915e-05/0.01268, allocations: 148.8 kB / 389.9 MB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.01279, allocations: 268.1 kB / 390.2 MB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.116e-05/0.01284, allocations: 152.8 kB / 390.3 MB, free: 5.898 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.083e-05/0.01292, allocations: 163.3 kB / 390.5 MB, free: 5.738 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01292, allocations: 0 / 390.5 MB, free: 5.738 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002235/0.01314, allocations: 19.88 kB / 390.5 MB, free: 5.719 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0004731/0.01362, allocations: 307.3 kB / 390.8 MB, free: 5.453 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001058/0.01372, allocations: 64.42 kB / 390.9 MB, free: 5.387 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.01372, allocations: 320 / 390.9 MB, free: 5.387 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.01373, allocations: 4 kB / 390.9 MB, free: 5.383 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.01407, allocations: 0.714 MB / 391.6 MB, free: 4.664 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002699/0.01434, allocations: 277.4 kB / 391.9 MB, free: 4.363 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.44e-05/0.01439, allocations: 67.83 kB / 391.9 MB, free: 4.273 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.372e-05/0.01444, allocations: 25.08 kB / 392 MB, free: 4.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.831e-05/0.01449, allocations: 78.2 kB / 392 MB, free: 4.172 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01449, allocations: 0 / 392 MB, free: 4.172 MB / 362.7 MB Notification: Performance of Templates: time 0.00236/0.01685, allocations: 0.7805 MB / 392.8 MB, free: 3.395 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.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.6891766218468547]