Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.001792/0.001792, allocations: 85.83 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002302/0.002302, allocations: 165.4 kB / 23.95 MB, free: 4.168 MB / 14.72 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.498/1.498, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] 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.2131/0.2131, allocations: 34.27 MB / 294.9 MB, free: 14.6 MB / 286.1 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 442.7 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.661e-05/3.894e-05, allocations: 2.281 kB / 442.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003311/0.00335, allocations: 1.658 MB / 444.4 MB, free: 3.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.005332, allocations: 1.246 MB / 445.6 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.066e-05/0.005403, allocations: 4 kB / 445.6 MB, free: 2.473 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000211/0.005614, allocations: 27.72 kB / 445.6 MB, free: 2.445 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003688/0.005983, allocations: 87.55 kB / 445.7 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003693/0.006352, allocations: 134.6 kB / 445.9 MB, free: 2.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.006507, allocations: 67.83 kB / 445.9 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.248e-05/0.006599, allocations: 11.98 kB / 445.9 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.168e-05/0.006681, allocations: 51.83 kB / 446 MB, free: 2.102 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.006791, allocations: 15.98 kB / 446 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.00681, allocations: 4 kB / 446 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.006986, allocations: 99.75 kB / 446.1 MB, free: 1.984 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.227e-05/0.007049, allocations: 19.97 kB / 446.1 MB, free: 1.965 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/0.007085, allocations: 19.92 kB / 446.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.007351, allocations: 151.5 kB / 446.3 MB, free: 1.797 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.007354, allocations: 0 / 446.3 MB, free: 1.797 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.007355, allocations: 0 / 446.3 MB, free: 1.797 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.007359, allocations: 4 kB / 446.3 MB, free: 1.793 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005339/0.007893, allocations: 341.7 kB / 446.6 MB, free: 1.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.007927, allocations: 11.97 kB / 446.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.007974, allocations: 8.891 kB / 446.6 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.008178, allocations: 145.1 kB / 446.8 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.008188, allocations: 4.375 kB / 446.8 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.008209, allocations: 4.375 kB / 446.8 MB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.008431, allocations: 97.66 kB / 446.9 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.008441, allocations: 192 / 446.9 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.008456, allocations: 8.109 kB / 446.9 MB, free: 1.117 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.008464, allocations: 11.94 kB / 446.9 MB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.008605, allocations: 35.91 kB / 446.9 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.008948, allocations: 220.6 kB / 447.2 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.009086, allocations: 42.55 kB / 447.2 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.783e-05/0.009164, allocations: 28.88 kB / 447.2 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.009184, allocations: 0 / 447.2 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.009216, allocations: 34.5 kB / 447.3 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.009217, allocations: 4 kB / 447.3 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008252/0.01004, allocations: 213.4 kB / 447.5 MB, free: 492 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.0101, allocations: 81.05 kB / 447.6 MB, free: 392 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.01027, allocations: 148.5 kB / 447.7 MB, free: 236 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.0103, allocations: 25.7 kB / 447.7 MB, free: 204 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.798e-05/0.01035, allocations: 96.14 kB / 447.8 MB, free: 104 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.01039, allocations: 27.78 kB / 447.8 MB, free: 76 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.783e-05/0.01043, allocations: 21.72 kB / 447.9 MB, free: 48 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2224/0.2328, allocations: 321.5 kB / 448.2 MB, free: 19.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.233, allocations: 28.03 kB / 448.2 MB, free: 19.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.2332, allocations: 69.3 kB / 448.3 MB, free: 18.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.2334, allocations: 76.06 kB / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2334, allocations: 0 / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003259/0.2337, allocations: 122 kB / 448.5 MB, free: 18.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.2337, allocations: 6.844 kB / 448.5 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2337, allocations: 0 / 448.5 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.2338, allocations: 0.9844 kB / 448.5 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.2339, allocations: 22.05 kB / 448.5 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2339, allocations: 4.312 kB / 448.5 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.695e-05/0.234, allocations: 9.25 kB / 448.5 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.234, allocations: 4.281 kB / 448.5 MB, free: 18.95 MB / 366.1 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 (7): * Single equations (assignments): 7 * 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.23e-05/0.2341, allocations: 119.5 kB / 448.6 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.2341, allocations: 9.734 kB / 448.6 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003433/0.2344, allocations: 126.6 kB / 448.8 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2344, allocations: 1.188 kB / 448.8 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2345, allocations: 3.938 kB / 448.8 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.2345, allocations: 1.953 kB / 448.8 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005/0.235, allocations: 336.5 kB / 449.1 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.235, allocations: 1.062 kB / 449.1 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.211e-05/0.2351, allocations: 21.45 kB / 449.1 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2351, allocations: 1.906 kB / 449.1 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.2351, allocations: 5.672 kB / 449.1 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.2351, allocations: 1.062 kB / 449.1 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2351, allocations: 0 / 449.1 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.2354, allocations: 216.2 kB / 449.3 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.6e-05/0.2354, allocations: 7.719 kB / 449.3 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.2354, allocations: 9.422 kB / 449.4 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.944e-05/0.2355, allocations: 9.016 kB / 449.4 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.2355, allocations: 4.875 kB / 449.4 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-06/0.2355, allocations: 3.062 kB / 449.4 MB, free: 18.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.548e-05/0.2356, allocations: 114.5 kB / 449.5 MB, free: 18.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2356, allocations: 0 / 449.5 MB, free: 18.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003202/0.2359, allocations: 39.81 kB / 449.5 MB, free: 18.36 MB / 366.1 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 (7): * Single equations (assignments): 7 * 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.00183/0.2378, allocations: 0.5255 MB / 450 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003103/0.2381, allocations: 75.03 kB / 450.1 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2381, allocations: 5.406 kB / 450.1 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.2382, allocations: 47.73 kB / 450.2 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.2385, allocations: 13.95 kB / 450.2 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004913/0.239, allocations: 211.6 kB / 450.4 MB, free: 18.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.287e-05/0.2391, allocations: 83.03 kB / 450.5 MB, free: 17.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.408e-05/0.2391, allocations: 16.95 kB / 450.5 MB, free: 17.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.95e-05/0.2392, allocations: 19.78 kB / 450.5 MB, free: 17.96 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2392, allocations: 1.312 kB / 450.5 MB, free: 17.96 MB / 366.1 MB Notification: Performance of Templates: time 0.005484/0.2447, allocations: 1.957 MB / 452.5 MB, free: 17.72 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.112396281212568]