Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.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.001879/0.001879, allocations: 75.28 kB / 19.93 MB, free: 1.781 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.001727/0.001727, allocations: 165.4 kB / 23.21 MB, free: 4.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2237/0.2237, allocations: 32.38 MB / 269.6 MB, free: 4.656 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") translateModel(ModelicaTest.Tables.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 407.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.642e-05, allocations: 2.281 kB / 407.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.003152/0.003179, allocations: 1.601 MB / 409 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007131/0.003892, allocations: 323.4 kB / 409.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.049e-05/0.003942, allocations: 3.938 kB / 409.3 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006675/0.00461, allocations: 459 kB / 409.7 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004083/0.005018, allocations: 251.4 kB / 410 MB, free: 384 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.005338, allocations: 107.7 kB / 410.1 MB, free: 276 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.005603, allocations: 167.6 kB / 410.3 MB, free: 108 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.00571, allocations: 20.16 kB / 410.3 MB, free: 88 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.005898, allocations: 115.8 kB / 410.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003414/0.00624, allocations: 239.6 kB / 410.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.006267, allocations: 0 / 410.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.62e-05/0.006353, allocations: 35.86 kB / 410.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.00647, allocations: 91.66 kB / 410.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.074e-05/0.006551, allocations: 43.72 kB / 410.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.006898, allocations: 231.1 kB / 411 MB, free: 15.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.0069, allocations: 0 / 411 MB, free: 15.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.006901, allocations: 4 kB / 411 MB, free: 15.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.00691, allocations: 0 / 411 MB, free: 15.34 MB / 350.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.0007881/0.007698, allocations: 0.566 MB / 411.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.007737, allocations: 12.03 kB / 411.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.785e-05/0.007805, allocations: 40.66 kB / 411.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.008119, allocations: 238 kB / 411.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.008141, allocations: 8.375 kB / 411.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.008164, allocations: 384 / 411.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.00836, allocations: 62.17 kB / 411.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.008373, allocations: 4.141 kB / 411.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.008386, allocations: 3.938 kB / 411.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.008391, allocations: 4 kB / 412 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.008529, allocations: 39.95 kB / 412 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.008974, allocations: 324.3 kB / 412.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.009109, allocations: 46.5 kB / 412.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.736e-05/0.009186, allocations: 20.94 kB / 412.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.009214, allocations: 4 kB / 412.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.009241, allocations: 34.56 kB / 412.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.009242, allocations: 0 / 412.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008497/0.01009, allocations: 288.6 kB / 412.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.01014, allocations: 51.41 kB / 412.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.0112, allocations: 0.8535 MB / 413.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001288/0.01133, allocations: 25.7 kB / 413.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.01154, allocations: 208.1 kB / 413.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.01157, allocations: 23.8 kB / 413.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.01171, allocations: 25.78 kB / 413.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002901/0.012, allocations: 362.7 kB / 414.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.01213, allocations: 39.95 kB / 414.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.01224, allocations: 35.92 kB / 414.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.01249, allocations: 77.03 kB / 414.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.01249, allocations: 0 / 414.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000337/0.01283, allocations: 149.3 kB / 414.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.01284, allocations: 4 kB / 414.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.01285, allocations: 0 / 414.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.01287, allocations: 0 / 414.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.01301, allocations: 19.98 kB / 414.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.01301, allocations: 0 / 414.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.312e-05/0.0131, allocations: 19.92 kB / 414.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.0131, allocations: 3.938 kB / 414.6 MB, free: 11.61 MB / 350.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 0.0002238/0.01333, allocations: 221.7 kB / 414.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.058e-05/0.01339, allocations: 43.72 kB / 414.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003904/0.01378, allocations: 153.5 kB / 415 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.01378, allocations: 4 kB / 415 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.01379, allocations: 0 / 415 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.01379, allocations: 3.938 kB / 415 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006728/0.01446, allocations: 442 kB / 415.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.01447, allocations: 3.984 kB / 415.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.797e-05/0.01455, allocations: 19.98 kB / 415.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01456, allocations: 0 / 415.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.01456, allocations: 0 / 415.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01457, allocations: 0 / 415.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.01457, allocations: 4 kB / 415.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003928/0.01496, allocations: 255.4 kB / 415.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.376e-05/0.01501, allocations: 31.72 kB / 415.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.01503, allocations: 4 kB / 415.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.01514, allocations: 11.97 kB / 415.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.01519, allocations: 11.98 kB / 415.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.01519, allocations: 0 / 415.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006804/0.01587, allocations: 0.6433 MB / 416.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01587, allocations: 0 / 416.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.01616, allocations: 31.88 kB / 416.4 MB, free: 9.684 MB / 350.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.001627/0.01778, allocations: 434.5 kB / 416.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003106/0.01809, allocations: 75.88 kB / 416.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.0181, allocations: 0 / 416.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.01823, allocations: 40.12 kB / 417 MB, free: 9.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.01864, allocations: 33.98 kB / 417 MB, free: 9.195 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.01993, allocations: 0.8059 MB / 417.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.02018, allocations: 216.2 kB / 418 MB, free: 8.129 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.014e-05/0.02023, allocations: 7.984 kB / 418 MB, free: 8.121 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.02027, allocations: 12.5 kB / 418 MB, free: 8.105 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.02027, allocations: 0 / 418 MB, free: 8.105 MB / 350.1 MB Notification: Performance of Templates: time 0.005509/0.02578, allocations: 1.441 MB / 419.5 MB, free: 6.676 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.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.130307234823704]