Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.002019/0.002019, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002648/0.002648, allocations: 165.3 kB / 24.27 MB, free: 144 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.465/1.465, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.378/0.378, allocations: 32.8 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 375.3 MB, free: 4.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.104e-05/3.256e-05, allocations: 2.312 kB / 375.3 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003769/0.003802, allocations: 1.658 MB / 376.9 MB, free: 3.277 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.005289, allocations: 0.5374 MB / 377.5 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.519e-05/0.005365, allocations: 0 / 377.5 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000811/0.006175, allocations: 455 kB / 377.9 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006029/0.006778, allocations: 295.2 kB / 378.2 MB, free: 2 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004342/0.007213, allocations: 131.6 kB / 378.3 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000297/0.00751, allocations: 167.6 kB / 378.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.007632, allocations: 12 kB / 378.5 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.007809, allocations: 119.8 kB / 378.6 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003143/0.008123, allocations: 239.6 kB / 378.9 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.008152, allocations: 7.984 kB / 378.9 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.008256, allocations: 31.92 kB / 378.9 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.008396, allocations: 87.72 kB / 379 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.253e-05/0.008458, allocations: 31.75 kB / 379 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003953/0.008854, allocations: 247 kB / 379.3 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.008858, allocations: 0 / 379.3 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.008859, allocations: 0 / 379.3 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.008865, allocations: 0 / 379.3 MB, free: 0.9453 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008759/0.009741, allocations: 0.5699 MB / 379.8 MB, free: 352 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.009782, allocations: 8.031 kB / 379.8 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.237e-05/0.009875, allocations: 44.66 kB / 379.9 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.01021, allocations: 246 kB / 380.1 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.01022, allocations: 4.375 kB / 380.1 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.01025, allocations: 8.359 kB / 380.1 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.01043, allocations: 50.25 kB / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.01045, allocations: 192 / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.01047, allocations: 4.125 kB / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.01048, allocations: 4 kB / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.01059, allocations: 23.98 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005126/0.0111, allocations: 324.4 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.01134, allocations: 46.5 kB / 380.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.978e-05/0.0114, allocations: 20.94 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.957e-05/0.01144, allocations: 4 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.01147, allocations: 30.56 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.01147, allocations: 3.938 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007094/0.01218, allocations: 228.7 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.01224, allocations: 67.27 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.01331, allocations: 0.8535 MB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.01333, allocations: 29.7 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.01355, allocations: 216 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.01358, allocations: 19.84 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.01363, allocations: 17.72 kB / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002303/0.01386, allocations: 358.8 kB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.886e-05/0.01394, allocations: 19.98 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.629e-05/0.014, allocations: 19.98 kB / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.01416, allocations: 52.77 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.01416, allocations: 4 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002641/0.01443, allocations: 117.3 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.01444, allocations: 4 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.01445, allocations: 256 / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.01447, allocations: 0 / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.632e-05/0.01454, allocations: 19.98 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.01455, allocations: 0 / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.861e-05/0.01461, allocations: 4 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.01462, allocations: 4 kB / 382.6 MB, free: 13.38 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 (5): * Single equations (assignments): 5 * 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.0002483/0.01486, allocations: 217.7 kB / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-05/0.01494, allocations: 43.72 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003321/0.01527, allocations: 133.2 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01527, allocations: 3.938 kB / 383 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.01528, allocations: 3.984 kB / 383 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.01528, allocations: 0 / 383 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005995/0.01588, allocations: 398 kB / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01588, allocations: 4.281 kB / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.611e-05/0.01595, allocations: 15.98 kB / 383.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.01595, allocations: 4 kB / 383.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.01596, allocations: 0 / 383.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.01596, allocations: 0 / 383.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.01596, allocations: 0 / 383.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.01628, allocations: 223.1 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.992e-05/0.01633, allocations: 35.72 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.01636, allocations: 0 / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.246e-05/0.01645, allocations: 11.98 kB / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.01648, allocations: 3.938 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.01649, allocations: 4 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007687/0.01726, allocations: 0.6511 MB / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01726, allocations: 0 / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002732/0.01753, allocations: 19.98 kB / 384.4 MB, free: 11.56 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 (5): * Single equations (assignments): 5 * 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.002025/0.01956, allocations: 446.5 kB / 384.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002142/0.01977, allocations: 51.91 kB / 384.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01977, allocations: 0 / 384.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.579e-05/0.01985, allocations: 19.98 kB / 384.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.02029, allocations: 32.75 kB / 384.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.02159, allocations: 0.8055 MB / 385.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.02186, allocations: 220.1 kB / 385.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.056e-05/0.02191, allocations: 12 kB / 386 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.878e-05/0.02195, allocations: 12.5 kB / 386 MB, free: 10.12 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02195, allocations: 3.938 kB / 386 MB, free: 10.11 MB / 362.7 MB Notification: Performance of Templates: time 0.005385/0.02733, allocations: 1.35 MB / 387.3 MB, free: 8.773 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.847368804970756]