Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.0014/0.0014, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001635/0.001635, allocations: 210.8 kB / 23.73 MB, free: 4.387 MB / 14.72 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.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2399/0.2399, allocations: 46.96 MB / 360.9 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 67.91 kB / 0.4966 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3832, allocations: 66.04 MB / 0.5611 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.005384/0.3886, allocations: 1.64 MB / 0.5627 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.3903, allocations: 0.5231 MB / 0.5632 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.435e-05/0.3904, allocations: 4 kB / 0.5632 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009287/0.3914, allocations: 463.1 kB / 0.5637 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008055/0.3922, allocations: 295.3 kB / 0.5639 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007364/0.3929, allocations: 134.8 kB / 0.5641 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000513/0.3934, allocations: 167.6 kB / 0.5642 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.3936, allocations: 11.98 kB / 0.5642 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/0.3938, allocations: 111.8 kB / 0.5643 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004971/0.3943, allocations: 247.5 kB / 0.5646 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.3943, allocations: 4 kB / 0.5646 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.3945, allocations: 43.91 kB / 0.5646 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000368/0.3949, allocations: 79.69 kB / 0.5647 GB, free: 492 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.987e-05/0.395, allocations: 67.25 kB / 0.5648 GB, free: 424 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005364/0.3955, allocations: 269 kB / 0.565 GB, free: 160 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3955, allocations: 0 / 0.565 GB, free: 160 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3955, allocations: 0 / 0.565 GB, free: 160 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.3955, allocations: 0 / 0.565 GB, free: 160 kB / 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.001258/0.3968, allocations: 0.5815 MB / 0.5656 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.3968, allocations: 8.031 kB / 0.5656 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.3969, allocations: 40.66 kB / 0.5656 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004329/0.3974, allocations: 246.8 kB / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.3974, allocations: 4.375 kB / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.3974, allocations: 4.375 kB / 0.5659 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.3976, allocations: 53.8 kB / 0.5659 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.3977, allocations: 0 / 0.5659 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.3977, allocations: 8 kB / 0.5659 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.3977, allocations: 4 kB / 0.5659 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.3978, allocations: 23.92 kB / 0.566 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000699/0.3985, allocations: 328.3 kB / 0.5663 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.3988, allocations: 50.56 kB / 0.5663 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.482e-05/0.3989, allocations: 16.88 kB / 0.5663 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.3989, allocations: 3.938 kB / 0.5663 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.247e-05/0.399, allocations: 34.56 kB / 0.5664 GB, free: 14.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.399, allocations: 0 / 0.5664 GB, free: 14.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0009354/0.3999, allocations: 232.8 kB / 0.5666 GB, free: 14.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.4, allocations: 59.34 kB / 0.5667 GB, free: 14.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.4014, allocations: 0.8613 MB / 0.5675 GB, free: 13.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.4015, allocations: 29.7 kB / 0.5675 GB, free: 13.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/0.4017, allocations: 212 kB / 0.5677 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.4018, allocations: 15.89 kB / 0.5677 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.565e-05/0.4018, allocations: 17.72 kB / 0.5678 GB, free: 13.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002595/0.4021, allocations: 362.7 kB / 0.5681 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.4022, allocations: 19.98 kB / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.472e-05/0.4023, allocations: 11.98 kB / 0.5681 GB, free: 12.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.4025, allocations: 52.83 kB / 0.5682 GB, free: 12.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4025, allocations: 4 kB / 0.5682 GB, free: 12.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003651/0.4029, allocations: 121.3 kB / 0.5683 GB, free: 12.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.4029, allocations: 4 kB / 0.5683 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4029, allocations: 0 / 0.5683 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4029, allocations: 4 kB / 0.5683 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.403, allocations: 8 kB / 0.5683 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.403, allocations: 7.969 kB / 0.5683 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.707e-05/0.4031, allocations: 12 kB / 0.5683 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.4031, allocations: 0 / 0.5683 GB, free: 12.57 MB / 414.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 (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.0003329/0.4035, allocations: 213.7 kB / 0.5685 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.705e-05/0.4036, allocations: 43.98 kB / 0.5686 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004376/0.404, allocations: 137.4 kB / 0.5687 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.404, allocations: 3.984 kB / 0.5687 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.404, allocations: 0 / 0.5687 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.404, allocations: 4 kB / 0.5687 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008114/0.4048, allocations: 402.1 kB / 0.5691 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4048, allocations: 0 / 0.5691 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.401e-05/0.4049, allocations: 15.98 kB / 0.5691 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.4049, allocations: 7.938 kB / 0.5691 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.4049, allocations: 0 / 0.5691 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.4049, allocations: 0 / 0.5691 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.4049, allocations: 3.938 kB / 0.5691 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/0.4053, allocations: 215.2 kB / 0.5693 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.467e-05/0.4054, allocations: 39.72 kB / 0.5694 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.4054, allocations: 0 / 0.5694 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.4056, allocations: 4 kB / 0.5694 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.4056, allocations: 7.922 kB / 0.5694 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.4056, allocations: 4 kB / 0.5694 GB, free: 11.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001051/0.4067, allocations: 0.6472 MB / 0.57 GB, free: 10.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4067, allocations: 4 kB / 0.57 GB, free: 10.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004692/0.4072, allocations: 19.94 kB / 0.5701 GB, free: 10.75 MB / 414.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 (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.002294/0.4095, allocations: 441.6 kB / 0.5705 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002999/0.4098, allocations: 51.89 kB / 0.5705 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4098, allocations: 0 / 0.5705 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.4099, allocations: 23.98 kB / 0.5705 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006465/0.4105, allocations: 27.58 kB / 0.5706 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.4123, allocations: 0.806 MB / 0.5714 GB, free: 9.566 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.4127, allocations: 216.2 kB / 0.5716 GB, free: 9.336 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.562e-05/0.4128, allocations: 15.77 kB / 0.5716 GB, free: 9.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.393e-05/0.4128, allocations: 15.44 kB / 0.5716 GB, free: 9.309 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4128, allocations: 3.938 kB / 0.5716 GB, free: 9.305 MB / 414.1 MB Notification: Performance of Templates: time 0.008343/0.4211, allocations: 1.685 MB / 0.5732 GB, free: 7.625 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.253419713117182]