Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.001484/0.001484, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001767/0.001767, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.66/1.66, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.3293/0.3293, allocations: 32.79 MB / 293.9 MB, free: 1.23 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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,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.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.247e-05/3.394e-05, allocations: 6.25 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.003271/0.003305, allocations: 1.681 MB / 377 MB, free: 3.277 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.004515, allocations: 0.5452 MB / 377.5 MB, free: 2.727 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.273e-05/0.004568, allocations: 0 / 377.5 MB, free: 2.727 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002912/0.004859, allocations: 67.77 kB / 377.6 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003507/0.00521, allocations: 103.5 kB / 377.7 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003835/0.005593, allocations: 135.5 kB / 377.8 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.005792, allocations: 95.73 kB / 377.9 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.0059, allocations: 8.234 kB / 377.9 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.006009, allocations: 47.88 kB / 378 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.006136, allocations: 59.86 kB / 378 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.006154, allocations: 4 kB / 378 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.006286, allocations: 51.86 kB / 378.1 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.29e-05/0.006369, allocations: 27.92 kB / 378.1 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.00641, allocations: 15.92 kB / 378.1 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.006643, allocations: 119.5 kB / 378.2 MB, free: 2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.006646, allocations: 0 / 378.2 MB, free: 2 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.006647, allocations: 0 / 378.2 MB, free: 2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.006652, allocations: 0 / 378.2 MB, free: 2 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.0006389/0.007291, allocations: 349.6 kB / 378.6 MB, free: 1.629 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.007331, allocations: 11.97 kB / 378.6 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.576e-05/0.007397, allocations: 16.84 kB / 378.6 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.007626, allocations: 150.3 kB / 378.8 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.007637, allocations: 384 / 378.8 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.007666, allocations: 4.375 kB / 378.8 MB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.007863, allocations: 62.23 kB / 378.8 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.007877, allocations: 192 / 378.8 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.007892, allocations: 8.125 kB / 378.8 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.007896, allocations: 3.938 kB / 378.8 MB, free: 1.348 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.008047, allocations: 43.95 kB / 378.9 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.008464, allocations: 244.4 kB / 379.1 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.008723, allocations: 62.52 kB / 379.2 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.278e-05/0.008806, allocations: 20.97 kB / 379.2 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.008835, allocations: 4 kB / 379.2 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.008868, allocations: 34.56 kB / 379.2 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.008869, allocations: 3.938 kB / 379.2 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001576/0.01044, allocations: 396.9 kB / 379.6 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.0105, allocations: 55.41 kB / 379.7 MB, free: 440 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.01076, allocations: 210.7 kB / 379.9 MB, free: 216 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.01079, allocations: 29.7 kB / 379.9 MB, free: 180 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.587e-05/0.01087, allocations: 104.1 kB / 380 MB, free: 72 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.364e-05/0.01093, allocations: 39.64 kB / 380 MB, free: 32 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.934e-05/0.011, allocations: 29.8 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.01121, allocations: 330.8 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.01134, allocations: 43.97 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.01147, allocations: 39.97 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/0.01173, allocations: 101.3 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.01173, allocations: 0 / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003714/0.0121, allocations: 149.5 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.01212, allocations: 4 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.01212, allocations: 0 / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.01215, allocations: 4 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.01227, allocations: 31.98 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.01228, allocations: 0 / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.061e-05/0.01235, allocations: 11.98 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.01236, allocations: 4 kB / 380.8 MB, free: 15.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 0.000127/0.01249, allocations: 133.8 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.561e-05/0.01253, allocations: 15.91 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004216/0.01295, allocations: 171.4 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.01296, allocations: 4 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.01296, allocations: 3.984 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.01297, allocations: 4 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007129/0.01368, allocations: 415.5 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.01368, allocations: 0 / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.01379, allocations: 27.97 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.01379, allocations: 0 / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.01381, allocations: 8 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.01381, allocations: 4 kB / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01382, allocations: 4 kB / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004389/0.01425, allocations: 265 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.01427, allocations: 7.953 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.0143, allocations: 8 kB / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.891e-05/0.0144, allocations: 11.92 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.01445, allocations: 7.984 kB / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.01446, allocations: 8 kB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001775/0.01463, allocations: 163.2 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01463, allocations: 0 / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000283/0.01492, allocations: 20 kB / 382 MB, free: 13.94 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.002257/0.01717, allocations: 0.4913 MB / 382.5 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003537/0.01753, allocations: 99.88 kB / 382.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01753, allocations: 0 / 382.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.01768, allocations: 59.89 kB / 382.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.01809, allocations: 23.94 kB / 382.7 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006812/0.01877, allocations: 306.1 kB / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.0189, allocations: 101.8 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.042e-05/0.01897, allocations: 24.48 kB / 383.1 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.632e-05/0.01902, allocations: 16.5 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01902, allocations: 0 / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of Templates: time 0.005087/0.02411, allocations: 1.585 MB / 384.7 MB, free: 11.41 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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: 4.942818434908986]