Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001814/0.001814, allocations: 115.6 kB / 20.43 MB, free: 1.309 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.002378/0.002378, allocations: 211.9 kB / 23.74 MB, free: 4.535 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.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.2317/0.2317, allocations: 44.93 MB / 358.8 MB, free: 6.266 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.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",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.002123/0.002123, allocations: 63.89 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3615, allocations: 65.48 MB / 0.557 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003172/0.3647, allocations: 1.626 MB / 0.5586 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.3658, allocations: 0.5767 MB / 0.5592 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.083e-05/0.3658, allocations: 4 kB / 0.5592 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006249/0.3665, allocations: 455.1 kB / 0.5596 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004953/0.3669, allocations: 299.3 kB / 0.5599 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004332/0.3674, allocations: 179.2 kB / 0.5601 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.3676, allocations: 175.6 kB / 0.5602 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.963e-05/0.3677, allocations: 8 kB / 0.5603 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.3679, allocations: 115.7 kB / 0.5604 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002873/0.3682, allocations: 255.4 kB / 0.5606 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.3682, allocations: 0 / 0.5606 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.552e-05/0.3682, allocations: 27.98 kB / 0.5606 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.3684, allocations: 88.66 kB / 0.5607 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.3685, allocations: 103 kB / 0.5608 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003423/0.3688, allocations: 270.6 kB / 0.5611 GB, free: 3.613 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3688, allocations: 0 / 0.5611 GB, free: 3.613 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3688, allocations: 0 / 0.5611 GB, free: 3.613 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.3688, allocations: 0 / 0.5611 GB, free: 3.613 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007918/0.3696, allocations: 0.5854 MB / 0.5616 GB, free: 2.996 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.3697, allocations: 12.03 kB / 0.5617 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.432e-05/0.3697, allocations: 30.75 kB / 0.5617 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.604e-05/0.3698, allocations: 44.66 kB / 0.5617 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.3701, allocations: 250.8 kB / 0.562 GB, free: 2.633 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.3701, allocations: 8.375 kB / 0.562 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.3701, allocations: 4.375 kB / 0.562 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.3703, allocations: 57.61 kB / 0.562 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3703, allocations: 0 / 0.562 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.3703, allocations: 0 / 0.562 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3703, allocations: 0 / 0.562 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.3705, allocations: 43.91 kB / 0.5621 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00056/0.371, allocations: 367.8 kB / 0.5624 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.3712, allocations: 46.55 kB / 0.5625 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.028e-05/0.3712, allocations: 24.94 kB / 0.5625 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.3713, allocations: 0 / 0.5625 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.3713, allocations: 30.56 kB / 0.5625 GB, free: 1.992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.3713, allocations: 4 kB / 0.5625 GB, free: 1.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003748/0.3717, allocations: 133.2 kB / 0.5627 GB, free: 1.852 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.3717, allocations: 55.41 kB / 0.5627 GB, free: 1.785 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009032/0.3726, allocations: 0.8737 MB / 0.5636 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.3726, allocations: 25.7 kB / 0.5636 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.3728, allocations: 216.1 kB / 0.5638 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.3728, allocations: 15.91 kB / 0.5638 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.3729, allocations: 13.72 kB / 0.5638 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.3731, allocations: 370.7 kB / 0.5642 GB, free: 252 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.562e-05/0.3731, allocations: 11.98 kB / 0.5642 GB, free: 240 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.958e-05/0.3732, allocations: 19.98 kB / 0.5642 GB, free: 220 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.3733, allocations: 53.03 kB / 0.5643 GB, free: 164 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3733, allocations: 0 / 0.5643 GB, free: 164 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001992/0.3735, allocations: 117.4 kB / 0.5644 GB, free: 40 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3735, allocations: 4 kB / 0.5644 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3735, allocations: 0 / 0.5644 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.3736, allocations: 3.938 kB / 0.5644 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.9e-05/0.3736, allocations: 11.98 kB / 0.5644 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3736, allocations: 0 / 0.5644 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.742e-05/0.3737, allocations: 4 kB / 0.5644 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.3737, allocations: 0 / 0.5644 GB, free: 16 kB / 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 (3): * Single equations (assignments): 3 * 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.0002174/0.3739, allocations: 221.7 kB / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-05/0.374, allocations: 43.72 kB / 0.5646 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002742/0.3743, allocations: 129.1 kB / 0.5648 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3743, allocations: 0 / 0.5648 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3743, allocations: 0 / 0.5648 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3743, allocations: 0 / 0.5648 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003093/0.3746, allocations: 264.6 kB / 0.565 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3746, allocations: 0 / 0.565 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.362e-05/0.3746, allocations: 15.98 kB / 0.565 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3746, allocations: 0 / 0.565 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.3746, allocations: 8 kB / 0.565 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3747, allocations: 4 kB / 0.565 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3747, allocations: 0 / 0.565 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.3749, allocations: 215.1 kB / 0.5653 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.169e-05/0.375, allocations: 35.72 kB / 0.5653 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.375, allocations: 4 kB / 0.5653 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.091e-05/0.3751, allocations: 15.92 kB / 0.5653 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.949e-05/0.3751, allocations: 0 / 0.5653 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.3751, allocations: 0 / 0.5653 GB, free: 15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006686/0.3758, allocations: 0.6589 MB / 0.566 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3758, allocations: 0 / 0.566 GB, free: 14.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.376, allocations: 19.94 kB / 0.566 GB, free: 14.32 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 (3): * Single equations (assignments): 3 * 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.001728/0.3778, allocations: 0.9925 MB / 0.5669 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.378, allocations: 43.89 kB / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.378, allocations: 0 / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.083e-05/0.378, allocations: 19.98 kB / 0.567 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.3785, allocations: 31.55 kB / 0.567 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003767/0.3822, allocations: 3.229 MB / 0.5702 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.3827, allocations: 0.8281 MB / 0.571 GB, free: 9.168 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.25e-05/0.3828, allocations: 19.8 kB / 0.571 GB, free: 9.148 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.3829, allocations: 111.4 kB / 0.5711 GB, free: 9.043 MB / 414.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3829, allocations: 0 / 0.5711 GB, free: 9.043 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03553/0.4184, allocations: 5.971 MB / 0.5769 GB, free: 3.137 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.09, allocations: 12.06 kB / 0.577 GB, free: 3.125 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.170638019917533]