Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.001392/0.001392, allocations: 107.1 kB / 20.44 MB, free: 1.355 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.001642/0.001642, allocations: 212.7 kB / 23.73 MB, free: 4.531 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 7.824 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.2448/0.2448, allocations: 46.96 MB / 360.9 MB, free: 4.062 MB / 286.1 MB " [Timeout remaining time 179] 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 63.89 kB / 0.4966 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4069, allocations: 66.04 MB / 0.5611 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003578/0.4104, allocations: 1.612 MB / 0.5627 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.4116, allocations: 0.5066 MB / 0.5632 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.976e-05/0.4117, allocations: 4 kB / 0.5632 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006426/0.4123, allocations: 451.1 kB / 0.5636 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005195/0.4128, allocations: 295.3 kB / 0.5639 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.4132, allocations: 127.5 kB / 0.564 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.4134, allocations: 155.7 kB / 0.5641 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.4135, allocations: 16.17 kB / 0.5642 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.4137, allocations: 115.7 kB / 0.5643 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003097/0.414, allocations: 239.5 kB / 0.5645 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.414, allocations: 4 kB / 0.5645 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-05/0.4141, allocations: 23.98 kB / 0.5645 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.4142, allocations: 87.67 kB / 0.5646 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.922e-05/0.4143, allocations: 67.19 kB / 0.5647 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003474/0.4146, allocations: 257 kB / 0.5649 GB, free: 272 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.4146, allocations: 4 kB / 0.5649 GB, free: 268 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4146, allocations: 0 / 0.5649 GB, free: 268 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.4146, allocations: 0 / 0.5649 GB, free: 268 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007989/0.4154, allocations: 0.5661 MB / 0.5655 GB, free: 15.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.4155, allocations: 8.031 kB / 0.5655 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.898e-05/0.4155, allocations: 44.66 kB / 0.5655 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.4159, allocations: 242.7 kB / 0.5658 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.416, allocations: 4.375 kB / 0.5658 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.416, allocations: 384 / 0.5658 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.4161, allocations: 54.55 kB / 0.5658 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.4162, allocations: 4 kB / 0.5658 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.4162, allocations: 4 kB / 0.5658 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.4162, allocations: 0 / 0.5658 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.027e-05/0.4163, allocations: 19.98 kB / 0.5658 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005156/0.4168, allocations: 316.5 kB / 0.5661 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.4169, allocations: 30.52 kB / 0.5662 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.918e-05/0.4169, allocations: 20.91 kB / 0.5662 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.417, allocations: 0 / 0.5662 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.417, allocations: 34.56 kB / 0.5662 GB, free: 14.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.417, allocations: 0 / 0.5662 GB, free: 14.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003034/0.4173, allocations: 97.39 kB / 0.5663 GB, free: 14.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.4174, allocations: 59.34 kB / 0.5664 GB, free: 14.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009742/0.4183, allocations: 0.8613 MB / 0.5672 GB, free: 13.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.4184, allocations: 25.7 kB / 0.5672 GB, free: 13.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.4185, allocations: 212 kB / 0.5674 GB, free: 13.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.4186, allocations: 7.891 kB / 0.5674 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.4186, allocations: 21.66 kB / 0.5675 GB, free: 13.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.4188, allocations: 370.8 kB / 0.5678 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.511e-05/0.4189, allocations: 8 kB / 0.5678 GB, free: 13.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.362e-05/0.4189, allocations: 11.98 kB / 0.5678 GB, free: 13.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.11e-05/0.419, allocations: 20.84 kB / 0.5679 GB, free: 13.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.419, allocations: 4 kB / 0.5679 GB, free: 13.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001573/0.4191, allocations: 89.41 kB / 0.568 GB, free: 12.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.4192, allocations: 6.656 kB / 0.568 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.4192, allocations: 12.03 kB / 0.568 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.4192, allocations: 0 / 0.568 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.234e-05/0.4193, allocations: 4 kB / 0.568 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.4193, allocations: 0 / 0.568 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.961e-05/0.4193, allocations: 7.984 kB / 0.568 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.4193, allocations: 0 / 0.568 GB, free: 12.95 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 (2): * Single equations (assignments): 2 * 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.0001996/0.4195, allocations: 209.7 kB / 0.5682 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.867e-05/0.4196, allocations: 39.72 kB / 0.5682 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/0.4198, allocations: 112.7 kB / 0.5683 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4198, allocations: 4.031 kB / 0.5683 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4198, allocations: 0 / 0.5683 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.4198, allocations: 3.984 kB / 0.5683 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.4201, allocations: 237.1 kB / 0.5686 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4201, allocations: 0 / 0.5686 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.955e-05/0.4201, allocations: 7.938 kB / 0.5686 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4201, allocations: 0 / 0.5686 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.4201, allocations: 0 / 0.5686 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4201, allocations: 0 / 0.5686 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4201, allocations: 0 / 0.5686 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.4203, allocations: 199.2 kB / 0.5688 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.345e-05/0.4204, allocations: 31.72 kB / 0.5688 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.4204, allocations: 0 / 0.5688 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.172e-05/0.4205, allocations: 4 kB / 0.5688 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.4205, allocations: 3.984 kB / 0.5688 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-06/0.4205, allocations: 0 / 0.5688 GB, free: 12.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006732/0.4212, allocations: 0.6472 MB / 0.5694 GB, free: 11.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4212, allocations: 0 / 0.5694 GB, free: 11.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.4215, allocations: 16 kB / 0.5694 GB, free: 11.39 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 (2): * Single equations (assignments): 2 * 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.0014/0.4229, allocations: 376.8 kB / 0.5698 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.423, allocations: 19.92 kB / 0.5698 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.423, allocations: 0 / 0.5698 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.723e-05/0.4231, allocations: 23.98 kB / 0.5698 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.4235, allocations: 27.53 kB / 0.5699 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.4247, allocations: 0.7827 MB / 0.5706 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.4249, allocations: 215.5 kB / 0.5708 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.274e-05/0.425, allocations: 7.984 kB / 0.5708 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.425, allocations: 11.44 kB / 0.5709 GB, free: 10.04 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.425, allocations: 0 / 0.5709 GB, free: 10.04 MB / 414.1 MB Notification: Performance of Templates: time 0.005406/0.4304, allocations: 1.453 MB / 0.5723 GB, free: 8.598 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.2434339402243495]