Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 112.4 kB / 21.1 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002468/0.002468, allocations: 189.5 kB / 24.36 MB, free: 4.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 225.6 MB / 253 MB, free: 13.1 MB / 206.1 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.308/0.308, allocations: 44.9 MB / 353.2 MB, free: 11.9 MB / 286.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 71.88 kB / 497.3 MB, free: 1.137 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4605/0.4626, allocations: 64.3 MB / 0.5485 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.004526/0.4671, allocations: 1.634 MB / 0.55 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.4682, allocations: 455.7 kB / 0.5505 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.4683, allocations: 0 / 0.5505 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008247/0.4691, allocations: 448.5 kB / 0.5509 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005732/0.4697, allocations: 258.6 kB / 0.5512 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005757/0.4703, allocations: 121.8 kB / 0.5513 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004562/0.4707, allocations: 168.6 kB / 0.5514 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.4708, allocations: 13.83 kB / 0.5514 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002661/0.4711, allocations: 106.3 kB / 0.5515 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004657/0.4716, allocations: 254.7 kB / 0.5518 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.4716, allocations: 3.281 kB / 0.5518 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.4717, allocations: 32.34 kB / 0.5518 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.4719, allocations: 85.95 kB / 0.5519 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.472, allocations: 98.75 kB / 0.552 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004573/0.4725, allocations: 264 kB / 0.5523 GB, free: 10.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4725, allocations: 1.094 kB / 0.5523 GB, free: 10.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4725, allocations: 4 kB / 0.5523 GB, free: 10.56 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.4725, allocations: 0 / 0.5523 GB, free: 10.56 MB / 398.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.001007/0.4735, allocations: 0.572 MB / 0.5528 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.4735, allocations: 10.11 kB / 0.5528 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.208e-05/0.4736, allocations: 42.81 kB / 0.5529 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.4739, allocations: 240.8 kB / 0.5531 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.4739, allocations: 5.594 kB / 0.5531 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.474, allocations: 3.188 kB / 0.5531 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.4742, allocations: 71.94 kB / 0.5532 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.4742, allocations: 5.109 kB / 0.5532 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.4742, allocations: 0 / 0.5532 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.4742, allocations: 1.062 kB / 0.5532 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.4744, allocations: 35.94 kB / 0.5532 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000564/0.4749, allocations: 352.9 kB / 0.5536 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.4751, allocations: 45.41 kB / 0.5536 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.423e-05/0.4751, allocations: 23.06 kB / 0.5536 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.4752, allocations: 1.25 kB / 0.5536 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.4752, allocations: 31.62 kB / 0.5536 GB, free: 9.305 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.4752, allocations: 0 / 0.5536 GB, free: 9.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009067/0.4761, allocations: 292.4 kB / 0.5539 GB, free: 9.129 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.4762, allocations: 53.62 kB / 0.554 GB, free: 9.066 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.4772, allocations: 0.8533 MB / 0.5548 GB, free: 8.652 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.4773, allocations: 26.89 kB / 0.5548 GB, free: 8.621 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.4775, allocations: 218.2 kB / 0.555 GB, free: 8.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.4775, allocations: 31.11 kB / 0.5551 GB, free: 8.402 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.4775, allocations: 18.97 kB / 0.5551 GB, free: 8.383 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.4777, allocations: 359.6 kB / 0.5554 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.4779, allocations: 34.03 kB / 0.5555 GB, free: 8.023 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.478, allocations: 31.06 kB / 0.5555 GB, free: 8.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.4782, allocations: 83.09 kB / 0.5556 GB, free: 7.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4782, allocations: 0 / 0.5556 GB, free: 7.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002956/0.4785, allocations: 141.3 kB / 0.5557 GB, free: 7.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.4785, allocations: 8 kB / 0.5557 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.4785, allocations: 0 / 0.5557 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.4785, allocations: 0 / 0.5557 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.4786, allocations: 23.98 kB / 0.5557 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.4786, allocations: 0 / 0.5557 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.285e-05/0.4787, allocations: 15.92 kB / 0.5558 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.4787, allocations: 4 kB / 0.5558 GB, free: 7.77 MB / 398.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.0002064/0.4789, allocations: 213.7 kB / 0.556 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.093e-05/0.479, allocations: 43.7 kB / 0.556 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003787/0.4794, allocations: 173.3 kB / 0.5562 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.4794, allocations: 3.938 kB / 0.5562 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.4794, allocations: 0 / 0.5562 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.83e-06/0.4794, allocations: 3.938 kB / 0.5562 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006966/0.4801, allocations: 461.5 kB / 0.5566 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4801, allocations: 0 / 0.5566 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.013e-05/0.4802, allocations: 23.98 kB / 0.5566 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.4802, allocations: 0 / 0.5566 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/0.4802, allocations: 11.94 kB / 0.5567 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.4802, allocations: 3.984 kB / 0.5567 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4802, allocations: 0 / 0.5567 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.4805, allocations: 243.2 kB / 0.5569 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.4806, allocations: 35.72 kB / 0.5569 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.4806, allocations: 3.938 kB / 0.5569 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.565e-05/0.4807, allocations: 11.98 kB / 0.5569 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.4808, allocations: 11.92 kB / 0.5569 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.4808, allocations: 4 kB / 0.557 GB, free: 6.461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006445/0.4814, allocations: 0.6394 MB / 0.5576 GB, free: 5.824 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4814, allocations: 0 / 0.5576 GB, free: 5.824 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.4817, allocations: 24 kB / 0.5576 GB, free: 5.801 MB / 398.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.001497/0.4832, allocations: 408.6 kB / 0.558 GB, free: 5.555 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003134/0.4835, allocations: 75.92 kB / 0.5581 GB, free: 5.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4835, allocations: 0 / 0.5581 GB, free: 5.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.4836, allocations: 47.89 kB / 0.5581 GB, free: 5.434 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.4841, allocations: 41.34 kB / 0.5581 GB, free: 5.395 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.4853, allocations: 0.7871 MB / 0.5589 GB, free: 4.582 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.4858, allocations: 0.8297 MB / 0.5597 GB, free: 3.727 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.131e-05/0.4858, allocations: 7.953 kB / 0.5597 GB, free: 3.719 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/0.4859, allocations: 19.42 kB / 0.5598 GB, free: 3.699 MB / 398.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4859, allocations: 0 / 0.5598 GB, free: 3.699 MB / 398.1 MB Notification: Performance of Templates: time 0.005339/0.4912, allocations: 1.6 MB / 0.5613 GB, free: 2.102 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.622838448733091]