Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.002004/0.002004, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002219/0.002219, allocations: 218.2 kB / 24.52 MB, free: 3.91 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.516/1.516, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.2338/0.2338, 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.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",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.002847/0.002847, allocations: 66.25 kB / 0.4938 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.344, allocations: 65.47 MB / 0.5577 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003769/0.3477, allocations: 1.652 MB / 0.5594 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.3498, allocations: 1.259 MB / 0.5606 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.834e-05/0.3499, allocations: 3.938 kB / 0.5606 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002224/0.3501, allocations: 27.86 kB / 0.5606 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003717/0.3505, allocations: 91.55 kB / 0.5607 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.3509, allocations: 179.1 kB / 0.5609 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.3511, allocations: 75.81 kB / 0.5609 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.3512, allocations: 17.83 kB / 0.561 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.876e-05/0.3513, allocations: 31.8 kB / 0.561 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.3514, allocations: 39.83 kB / 0.561 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.3514, allocations: 4 kB / 0.561 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.3516, allocations: 95.94 kB / 0.5611 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.432e-05/0.3516, allocations: 15.92 kB / 0.5611 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.284e-05/0.3517, allocations: 35.73 kB / 0.5612 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.352, allocations: 147.5 kB / 0.5613 GB, free: 3.883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.352, allocations: 3.938 kB / 0.5613 GB, free: 3.879 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.352, allocations: 0 / 0.5613 GB, free: 3.879 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.352, allocations: 4 kB / 0.5613 GB, free: 3.875 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.0006015/0.3526, allocations: 345.6 kB / 0.5617 GB, free: 3.508 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3526, allocations: 8.031 kB / 0.5617 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.55e-05/0.3526, allocations: 4.188 kB / 0.5617 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.886e-05/0.3527, allocations: 42.73 kB / 0.5617 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.3527, allocations: 12.83 kB / 0.5617 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.353, allocations: 146.3 kB / 0.5619 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.4e-06/0.353, allocations: 384 / 0.5619 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.353, allocations: 8.125 kB / 0.5619 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.3532, allocations: 97.09 kB / 0.562 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3532, allocations: 4 kB / 0.562 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.3532, allocations: 4 kB / 0.562 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.3532, allocations: 3.984 kB / 0.562 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.3534, allocations: 39.91 kB / 0.562 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.3539, allocations: 283.8 kB / 0.5623 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.354, allocations: 42.55 kB / 0.5623 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.887e-05/0.3541, allocations: 32.92 kB / 0.5624 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.3541, allocations: 0 / 0.5624 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.3541, allocations: 42.5 kB / 0.5624 GB, free: 2.637 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3541, allocations: 0 / 0.5624 GB, free: 2.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007954/0.3549, allocations: 225.3 kB / 0.5626 GB, free: 2.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.355, allocations: 89.05 kB / 0.5627 GB, free: 2.305 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.3552, allocations: 164.5 kB / 0.5628 GB, free: 2.137 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.3552, allocations: 25.7 kB / 0.5629 GB, free: 2.105 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.778e-05/0.3553, allocations: 100.1 kB / 0.563 GB, free: 2.004 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.3553, allocations: 23.78 kB / 0.563 GB, free: 1.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.3553, allocations: 21.66 kB / 0.563 GB, free: 1.953 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3555, allocations: 322.8 kB / 0.5633 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.3556, allocations: 35.97 kB / 0.5634 GB, free: 1.594 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.3557, allocations: 83.38 kB / 0.5634 GB, free: 1.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.356, allocations: 92.86 kB / 0.5635 GB, free: 1.406 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.356, allocations: 0 / 0.5635 GB, free: 1.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002967/0.3563, allocations: 125.5 kB / 0.5636 GB, free: 1.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3563, allocations: 4 kB / 0.5636 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.3563, allocations: 4.031 kB / 0.5636 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.3563, allocations: 4 kB / 0.5637 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.3565, allocations: 15.98 kB / 0.5637 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.3565, allocations: 3.938 kB / 0.5637 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.571e-05/0.3565, allocations: 15.98 kB / 0.5637 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.3566, allocations: 4 kB / 0.5637 GB, free: 1.227 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 (7): * Single equations (assignments): 7 * 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.0001028/0.3567, allocations: 121.8 kB / 0.5638 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.3567, allocations: 11.91 kB / 0.5638 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003753/0.3571, allocations: 142.3 kB / 0.564 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3571, allocations: 4 kB / 0.564 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.3571, allocations: 3.938 kB / 0.564 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3571, allocations: 0 / 0.564 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005939/0.3577, allocations: 369.6 kB / 0.5643 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3577, allocations: 0 / 0.5643 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.085e-05/0.3578, allocations: 35.84 kB / 0.5643 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3578, allocations: 3.938 kB / 0.5644 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.3578, allocations: 0 / 0.5644 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.3578, allocations: 8.469 kB / 0.5644 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3578, allocations: 0 / 0.5644 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.3581, allocations: 219.4 kB / 0.5646 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.769e-05/0.3582, allocations: 15.94 kB / 0.5646 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.3582, allocations: 7.938 kB / 0.5646 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.3583, allocations: 8 kB / 0.5646 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.3583, allocations: 7.984 kB / 0.5646 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.3584, allocations: 4 kB / 0.5646 GB, free: 200 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.3585, allocations: 115.2 kB / 0.5647 GB, free: 84 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3585, allocations: 0 / 0.5647 GB, free: 84 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003152/0.3588, allocations: 43.86 kB / 0.5648 GB, free: 40 kB / 398.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 (7): * Single equations (assignments): 7 * 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.002441/0.3612, allocations: 1.195 MB / 0.5659 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003189/0.3615, allocations: 95.84 kB / 0.566 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3615, allocations: 0 / 0.566 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.3617, allocations: 43.97 kB / 0.5661 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.3621, allocations: 16.3 kB / 0.5661 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.3643, allocations: 1.651 MB / 0.5677 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.98e-05/0.3644, allocations: 88.28 kB / 0.5678 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.055e-05/0.3644, allocations: 20.41 kB / 0.5678 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.482e-05/0.3645, allocations: 35.61 kB / 0.5678 GB, free: 12.99 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3645, allocations: 0 / 0.5678 GB, free: 12.99 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.3893, allocations: 3.89 MB / 0.5716 GB, free: 9.141 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.96, allocations: 11.38 kB / 0.5716 GB, free: 9.133 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.173636791994795]