Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.001718/0.001718, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002159/0.002159, allocations: 211.9 kB / 24.51 MB, free: 3.941 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 / 258.3 MB, free: 7.793 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.2329/0.2329, allocations: 44.93 MB / 359.6 MB, free: 6.066 MB / 286.1 MB " [Timeout remaining time 180] 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.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 67.91 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3648, allocations: 65.47 MB / 0.5577 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.003413/0.3682, allocations: 1.667 MB / 0.5594 GB, free: 5.867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.3693, allocations: 0.5271 MB / 0.5599 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.016e-05/0.3694, allocations: 0 / 0.5599 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.3696, allocations: 55.73 kB / 0.5599 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003592/0.37, allocations: 91.59 kB / 0.56 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004042/0.3704, allocations: 139.4 kB / 0.5602 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.3706, allocations: 83.75 kB / 0.5602 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.3707, allocations: 22.05 kB / 0.5603 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.687e-05/0.3708, allocations: 35.84 kB / 0.5603 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.3709, allocations: 47.83 kB / 0.5603 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.3709, allocations: 4 kB / 0.5603 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.371, allocations: 55.91 kB / 0.5604 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.725e-05/0.3711, allocations: 19.92 kB / 0.5604 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.117e-05/0.3711, allocations: 27.81 kB / 0.5604 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.3713, allocations: 115.4 kB / 0.5606 GB, free: 4.652 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3714, allocations: 8 kB / 0.5606 GB, free: 4.645 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3714, allocations: 0 / 0.5606 GB, free: 4.645 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.3714, allocations: 0 / 0.5606 GB, free: 4.645 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005189/0.3719, allocations: 352 kB / 0.5609 GB, free: 4.273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.3719, allocations: 8.031 kB / 0.5609 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.482e-05/0.3719, allocations: 4.188 kB / 0.5609 GB, free: 4.262 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.372, allocations: 38.75 kB / 0.5609 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.372, allocations: 8.891 kB / 0.561 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.3722, allocations: 140 kB / 0.5611 GB, free: 4.047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.3722, allocations: 8.375 kB / 0.5611 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.3722, allocations: 12.08 kB / 0.5611 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.3724, allocations: 69.59 kB / 0.5612 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3724, allocations: 0 / 0.5612 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.036e-06/0.3724, allocations: 0 / 0.5612 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.3724, allocations: 0 / 0.5612 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.3726, allocations: 39.97 kB / 0.5612 GB, free: 3.914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/0.373, allocations: 271.8 kB / 0.5615 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.3732, allocations: 50.56 kB / 0.5615 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.136e-05/0.3733, allocations: 28.95 kB / 0.5615 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.3733, allocations: 0 / 0.5615 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.3733, allocations: 34.56 kB / 0.5616 GB, free: 3.473 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.81e-07/0.3733, allocations: 0 / 0.5616 GB, free: 3.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001462/0.3748, allocations: 412.9 kB / 0.562 GB, free: 3.062 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.3748, allocations: 51.41 kB / 0.562 GB, free: 3 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.375, allocations: 186.1 kB / 0.5622 GB, free: 2.805 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.375, allocations: 33.7 kB / 0.5622 GB, free: 2.766 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.759e-05/0.3751, allocations: 100.1 kB / 0.5623 GB, free: 2.664 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.3752, allocations: 39.62 kB / 0.5624 GB, free: 2.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.932e-05/0.3752, allocations: 25.72 kB / 0.5624 GB, free: 2.594 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3753, allocations: 322.8 kB / 0.5627 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.3755, allocations: 43.95 kB / 0.5627 GB, free: 2.227 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.3756, allocations: 47.97 kB / 0.5628 GB, free: 2.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.3758, allocations: 97.31 kB / 0.5629 GB, free: 2.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3758, allocations: 0 / 0.5629 GB, free: 2.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000335/0.3762, allocations: 149.5 kB / 0.563 GB, free: 1.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3762, allocations: 4 kB / 0.563 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.3762, allocations: 4 kB / 0.563 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3762, allocations: 3.938 kB / 0.563 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.3763, allocations: 31.98 kB / 0.5631 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.3763, allocations: 0 / 0.5631 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.633e-05/0.3764, allocations: 7.984 kB / 0.5631 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.3764, allocations: 4 kB / 0.5631 GB, free: 1.875 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 (11): * Single equations (assignments): 11 * 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.0001068/0.3765, allocations: 125.8 kB / 0.5632 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.3766, allocations: 15.91 kB / 0.5632 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003861/0.3769, allocations: 174.6 kB / 0.5634 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3769, allocations: 4 kB / 0.5634 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3769, allocations: 0 / 0.5634 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3769, allocations: 0 / 0.5634 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006658/0.3776, allocations: 435.1 kB / 0.5638 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3776, allocations: 0 / 0.5638 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.3777, allocations: 27.97 kB / 0.5638 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.3777, allocations: 4 kB / 0.5638 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.3777, allocations: 0 / 0.5638 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.3777, allocations: 0 / 0.5638 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3777, allocations: 4 kB / 0.5638 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.3781, allocations: 265 kB / 0.5641 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.979e-05/0.3781, allocations: 11.98 kB / 0.5641 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.3782, allocations: 0 / 0.5641 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.3783, allocations: 16.08 kB / 0.5641 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.3783, allocations: 11.92 kB / 0.5641 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.3783, allocations: 4 kB / 0.5641 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.3784, allocations: 140.1 kB / 0.5643 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3784, allocations: 0 / 0.5643 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000266/0.3787, allocations: 23.94 kB / 0.5643 GB, free: 0.543 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002407/0.3811, allocations: 1.171 MB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003286/0.3814, allocations: 107.9 kB / 0.5655 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3814, allocations: 0 / 0.5655 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.3816, allocations: 51.91 kB / 0.5656 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.382, allocations: 22.98 kB / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.3843, allocations: 1.804 MB / 0.5674 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.887e-05/0.3844, allocations: 100.7 kB / 0.5675 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.397e-05/0.3844, allocations: 16.67 kB / 0.5675 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.696e-05/0.3845, allocations: 39.41 kB / 0.5675 GB, free: 13.31 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3845, allocations: 3.938 kB / 0.5675 GB, free: 13.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.4069, allocations: 3.574 MB / 0.571 GB, free: 9.789 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.89, allocations: 14.89 kB / 0.571 GB, free: 9.777 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test25_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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: 15.130490006995387]