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.002052/0.002052, allocations: 100.6 kB / 21.22 MB, free: 0.6562 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.001539/0.001539, allocations: 185.2 kB / 24.51 MB, free: 4.012 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.507/1.507, allocations: 225.6 MB / 253.3 MB, free: 13.05 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.2574/0.2574, allocations: 44.9 MB / 353.5 MB, free: 11.83 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.002008/0.002008, allocations: 71.89 kB / 497.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.467/0.469, allocations: 64.29 MB / 0.5488 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003882/0.4729, allocations: 1.646 MB / 0.5504 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009885/0.4739, allocations: 442.2 kB / 0.5509 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.968e-05/0.4739, allocations: 0 / 0.5509 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007486/0.4747, allocations: 456.8 kB / 0.5513 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004465/0.4751, allocations: 250.3 kB / 0.5515 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004342/0.4756, allocations: 133.1 kB / 0.5517 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002809/0.4758, allocations: 165.4 kB / 0.5518 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.476, allocations: 16.52 kB / 0.5518 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.4761, allocations: 109.8 kB / 0.5519 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003425/0.4765, allocations: 255 kB / 0.5522 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.4765, allocations: 4.031 kB / 0.5522 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.4766, allocations: 32.17 kB / 0.5522 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.4767, allocations: 81.91 kB / 0.5523 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.675e-05/0.4768, allocations: 98 kB / 0.5524 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004189/0.4772, allocations: 266.7 kB / 0.5526 GB, free: 10.58 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4772, allocations: 0 / 0.5526 GB, free: 10.58 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.4772, allocations: 0 / 0.5526 GB, free: 10.58 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.4773, allocations: 0 / 0.5526 GB, free: 10.58 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.0008791/0.4781, allocations: 0.5684 MB / 0.5532 GB, free: 10.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.4782, allocations: 10.2 kB / 0.5532 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.801e-05/0.4783, allocations: 43.25 kB / 0.5533 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.4786, allocations: 244.1 kB / 0.5535 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.4786, allocations: 9.453 kB / 0.5535 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.4786, allocations: 10.66 kB / 0.5535 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.4788, allocations: 61.77 kB / 0.5536 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.4788, allocations: 4 kB / 0.5536 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.4789, allocations: 0 / 0.5536 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.4789, allocations: 1.094 kB / 0.5536 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.479, allocations: 32.34 kB / 0.5536 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006129/0.4796, allocations: 353.1 kB / 0.5539 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.4798, allocations: 49.53 kB / 0.554 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.721e-05/0.4799, allocations: 23.75 kB / 0.554 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.4799, allocations: 0.9688 kB / 0.554 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.4799, allocations: 35.64 kB / 0.554 GB, free: 9.316 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.4799, allocations: 0 / 0.554 GB, free: 9.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009458/0.4809, allocations: 289.2 kB / 0.5543 GB, free: 9.145 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.4809, allocations: 51.41 kB / 0.5544 GB, free: 9.082 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.482, allocations: 0.8582 MB / 0.5552 GB, free: 8.664 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.482, allocations: 26.73 kB / 0.5552 GB, free: 8.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/0.4822, allocations: 216.1 kB / 0.5554 GB, free: 8.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.4823, allocations: 22.28 kB / 0.5555 GB, free: 8.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/0.4823, allocations: 25.69 kB / 0.5555 GB, free: 8.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.4825, allocations: 359.7 kB / 0.5558 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.4827, allocations: 31.19 kB / 0.5559 GB, free: 8.043 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.4828, allocations: 34.59 kB / 0.5559 GB, free: 8.027 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.483, allocations: 81.03 kB / 0.556 GB, free: 7.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.483, allocations: 0 / 0.556 GB, free: 7.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003453/0.4834, allocations: 149.3 kB / 0.5561 GB, free: 7.793 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.4834, allocations: 4 kB / 0.5561 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4834, allocations: 0 / 0.5561 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.4834, allocations: 0 / 0.5561 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.4835, allocations: 23.97 kB / 0.5561 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.4835, allocations: 4 kB / 0.5561 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.337e-05/0.4836, allocations: 11.94 kB / 0.5561 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.4836, allocations: 0 / 0.5561 GB, free: 7.75 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.0002425/0.4839, allocations: 221.6 kB / 0.5564 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.642e-05/0.4839, allocations: 43.72 kB / 0.5564 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004137/0.4843, allocations: 161.4 kB / 0.5566 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.4843, allocations: 8 kB / 0.5566 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.4844, allocations: 11.92 kB / 0.5566 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.4844, allocations: 3.938 kB / 0.5566 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007738/0.4851, allocations: 461.5 kB / 0.557 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4851, allocations: 4 kB / 0.557 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.606e-05/0.4852, allocations: 15.98 kB / 0.557 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4852, allocations: 4 kB / 0.557 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.4853, allocations: 7.938 kB / 0.557 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4853, allocations: 0 / 0.557 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4853, allocations: 0 / 0.557 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.4856, allocations: 239.2 kB / 0.5573 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.143e-05/0.4857, allocations: 31.72 kB / 0.5573 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.4857, allocations: 11.94 kB / 0.5573 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.4858, allocations: 11.98 kB / 0.5573 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.4859, allocations: 8.266 kB / 0.5573 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.4859, allocations: 0 / 0.5573 GB, free: 6.445 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000747/0.4867, allocations: 0.6472 MB / 0.558 GB, free: 5.801 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4867, allocations: 0 / 0.558 GB, free: 5.801 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.4869, allocations: 27.98 kB / 0.558 GB, free: 5.773 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.001664/0.4886, allocations: 401.6 kB / 0.5584 GB, free: 5.535 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003276/0.4889, allocations: 87.84 kB / 0.5585 GB, free: 5.449 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4889, allocations: 0 / 0.5585 GB, free: 5.449 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.489, allocations: 35.97 kB / 0.5585 GB, free: 5.414 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/0.4895, allocations: 30.84 kB / 0.5585 GB, free: 5.387 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.4909, allocations: 0.7988 MB / 0.5593 GB, free: 4.562 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006506/0.4916, allocations: 0.8219 MB / 0.5601 GB, free: 3.715 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.84e-05/0.4917, allocations: 15.94 kB / 0.5601 GB, free: 3.699 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.4917, allocations: 11.44 kB / 0.5601 GB, free: 3.688 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4917, allocations: 0 / 0.5601 GB, free: 3.688 MB / 398.1 MB Notification: Performance of Templates: time 0.006354/0.4981, allocations: 1.609 MB / 0.5617 GB, free: 2.078 MB / 398.1 MB " [Timeout remaining time 659] 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.548120580613613]