Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.001381/0.001381, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001546/0.001546, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.556/1.556, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2392/0.2392, allocations: 44.91 MB / 358.8 MB, free: 6.27 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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",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.002496/0.002496, allocations: 63.91 kB / 0.4931 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4268, allocations: 65.47 MB / 0.557 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003646/0.4304, allocations: 1.674 MB / 0.5587 GB, free: 6.066 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.4317, allocations: 0.5932 MB / 0.5593 GB, free: 5.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.289e-05/0.4318, allocations: 0 / 0.5593 GB, free: 5.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006762/0.4325, allocations: 463.1 kB / 0.5597 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005712/0.433, allocations: 295.3 kB / 0.56 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005407/0.4336, allocations: 170.9 kB / 0.5601 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003434/0.4339, allocations: 179.6 kB / 0.5603 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.434, allocations: 13.81 kB / 0.5603 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.4342, allocations: 111.7 kB / 0.5604 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003477/0.4346, allocations: 247.5 kB / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.4346, allocations: 7.938 kB / 0.5607 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.4347, allocations: 31.98 kB / 0.5607 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.4348, allocations: 83.69 kB / 0.5608 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.4349, allocations: 110.9 kB / 0.5609 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004263/0.4354, allocations: 270.6 kB / 0.5612 GB, free: 3.527 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.4354, allocations: 0 / 0.5612 GB, free: 3.527 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4354, allocations: 0 / 0.5612 GB, free: 3.527 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.4354, allocations: 0 / 0.5612 GB, free: 3.527 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.0008673/0.4363, allocations: 0.5931 MB / 0.5617 GB, free: 2.902 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.4363, allocations: 8.031 kB / 0.5617 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.23e-05/0.4364, allocations: 42.73 kB / 0.5618 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.622e-05/0.4364, allocations: 40.66 kB / 0.5618 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.4368, allocations: 250.8 kB / 0.5621 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.4368, allocations: 4.375 kB / 0.5621 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.4368, allocations: 4.375 kB / 0.5621 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.437, allocations: 57.61 kB / 0.5621 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.437, allocations: 0 / 0.5621 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.437, allocations: 0 / 0.5621 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.437, allocations: 4 kB / 0.5621 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.4371, allocations: 31.92 kB / 0.5622 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005993/0.4377, allocations: 379.7 kB / 0.5625 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.4379, allocations: 42.55 kB / 0.5626 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.578e-05/0.438, allocations: 20.8 kB / 0.5626 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.438, allocations: 0 / 0.5626 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.438, allocations: 38.64 kB / 0.5626 GB, free: 1.895 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.438, allocations: 0 / 0.5626 GB, free: 1.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006992/0.4387, allocations: 240.7 kB / 0.5628 GB, free: 1.652 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.4388, allocations: 55.39 kB / 0.5629 GB, free: 1.586 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009972/0.4398, allocations: 0.8737 MB / 0.5637 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.4398, allocations: 29.7 kB / 0.5638 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.44, allocations: 224.1 kB / 0.564 GB, free: 452 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.44, allocations: 31.78 kB / 0.564 GB, free: 420 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.4401, allocations: 21.72 kB / 0.564 GB, free: 392 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.4403, allocations: 362.8 kB / 0.5644 GB, free: 20 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.944e-05/0.4403, allocations: 19.98 kB / 0.5644 GB, free: 0 / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.659e-05/0.4404, allocations: 19.98 kB / 0.5644 GB, free: 15.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.4406, allocations: 52.83 kB / 0.5645 GB, free: 15.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.4406, allocations: 0 / 0.5645 GB, free: 15.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002514/0.4408, allocations: 133.3 kB / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.4408, allocations: 4 kB / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4409, allocations: 0 / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.4409, allocations: 0 / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.485e-05/0.4409, allocations: 19.92 kB / 0.5646 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.441, allocations: 0 / 0.5646 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.781e-05/0.441, allocations: 7.938 kB / 0.5646 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.441, allocations: 0 / 0.5646 GB, free: 15.76 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.0002255/0.4413, allocations: 217.8 kB / 0.5648 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.687e-05/0.4413, allocations: 47.67 kB / 0.5649 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003279/0.4417, allocations: 141.2 kB / 0.565 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.4417, allocations: 4 kB / 0.565 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4417, allocations: 320 / 0.565 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.4417, allocations: 4.219 kB / 0.565 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006305/0.4423, allocations: 449.5 kB / 0.5655 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4423, allocations: 0 / 0.5655 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6e-05/0.4424, allocations: 12 kB / 0.5655 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.4424, allocations: 7.922 kB / 0.5655 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.4424, allocations: 7.938 kB / 0.5655 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.4424, allocations: 3.984 kB / 0.5655 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4424, allocations: 0 / 0.5655 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.4427, allocations: 215.2 kB / 0.5657 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.107e-05/0.4428, allocations: 39.7 kB / 0.5657 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.4428, allocations: 3.938 kB / 0.5657 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.913e-05/0.4429, allocations: 4 kB / 0.5657 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.4429, allocations: 7.984 kB / 0.5657 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.4429, allocations: 0 / 0.5657 GB, free: 14.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006988/0.4436, allocations: 0.6589 MB / 0.5664 GB, free: 13.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4436, allocations: 0 / 0.5664 GB, free: 13.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.4439, allocations: 31.89 kB / 0.5664 GB, free: 13.84 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.002099/0.446, allocations: 1.062 MB / 0.5675 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002305/0.4462, allocations: 55.95 kB / 0.5675 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4462, allocations: 0 / 0.5675 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.681e-05/0.4463, allocations: 31.92 kB / 0.5675 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004797/0.4468, allocations: 35.91 kB / 0.5676 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004235/0.451, allocations: 3.272 MB / 0.5708 GB, free: 9.426 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005053/0.4515, allocations: 0.8337 MB / 0.5716 GB, free: 8.566 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.344e-05/0.4516, allocations: 12.66 kB / 0.5716 GB, free: 8.551 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.4518, allocations: 111.4 kB / 0.5717 GB, free: 8.441 MB / 414.1 MB Notification: Performance of SimCode: time 9.71e-07/0.4518, allocations: 4 kB / 0.5717 GB, free: 8.438 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03476/0.4865, allocations: 6.294 MB / 0.5779 GB, free: 2.219 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.1, allocations: 3.938 kB / 0.5779 GB, free: 2.215 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.280668325023726]