Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.001643/0.001643, 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.001515/0.001515, allocations: 214.7 kB / 24.52 MB, free: 3.914 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.487/1.487, allocations: 230.6 MB / 258.3 MB, free: 7.77 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.228/0.228, allocations: 44.93 MB / 359.6 MB, free: 6.074 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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",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.00269/0.00269, allocations: 59.91 kB / 0.4938 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3462, allocations: 65.48 MB / 0.5577 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003585/0.3498, allocations: 1.651 MB / 0.5594 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002321/0.3521, allocations: 1.259 MB / 0.5606 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.02e-05/0.3522, allocations: 3.938 kB / 0.5606 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.3524, allocations: 39.83 kB / 0.5606 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003406/0.3528, allocations: 79.62 kB / 0.5607 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004617/0.3532, allocations: 171 kB / 0.5609 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.3534, allocations: 83.75 kB / 0.5609 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.3536, allocations: 17.81 kB / 0.561 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.429e-05/0.3536, allocations: 35.84 kB / 0.561 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.3537, allocations: 39.78 kB / 0.561 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.3538, allocations: 4 kB / 0.561 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001999/0.354, allocations: 91.94 kB / 0.5611 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.327e-05/0.354, allocations: 23.92 kB / 0.5611 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.603e-05/0.3541, allocations: 23.86 kB / 0.5612 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003604/0.3545, allocations: 155.4 kB / 0.5613 GB, free: 3.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.3545, allocations: 4 kB / 0.5613 GB, free: 3.871 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3545, allocations: 0 / 0.5613 GB, free: 3.871 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.3545, allocations: 0 / 0.5613 GB, free: 3.871 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.0007641/0.3552, allocations: 345.6 kB / 0.5616 GB, free: 3.504 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3553, allocations: 12.03 kB / 0.5617 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.736e-05/0.3553, allocations: 4.188 kB / 0.5617 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.831e-05/0.3553, allocations: 34.75 kB / 0.5617 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.3554, allocations: 8.891 kB / 0.5617 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.3556, allocations: 154.2 kB / 0.5619 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.3556, allocations: 4.375 kB / 0.5619 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.3557, allocations: 8.125 kB / 0.5619 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.3559, allocations: 101.1 kB / 0.562 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3559, allocations: 4 kB / 0.562 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.3559, allocations: 4 kB / 0.562 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3559, allocations: 0 / 0.562 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.3561, allocations: 39.95 kB / 0.562 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.3565, allocations: 279.8 kB / 0.5623 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.3567, allocations: 46.55 kB / 0.5623 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.165e-05/0.3567, allocations: 32.92 kB / 0.5624 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.3568, allocations: 0 / 0.5624 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.3568, allocations: 34.56 kB / 0.5624 GB, free: 2.637 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.3568, allocations: 0 / 0.5624 GB, free: 2.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008571/0.3577, allocations: 233.3 kB / 0.5626 GB, free: 2.402 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/0.3577, allocations: 81.11 kB / 0.5627 GB, free: 2.305 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.3579, allocations: 160.2 kB / 0.5628 GB, free: 2.141 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.3579, allocations: 25.7 kB / 0.5629 GB, free: 2.109 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.509e-05/0.358, allocations: 104.1 kB / 0.563 GB, free: 2.004 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.358, allocations: 23.78 kB / 0.563 GB, free: 1.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.509e-05/0.3581, allocations: 21.72 kB / 0.563 GB, free: 1.953 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3582, allocations: 322.8 kB / 0.5633 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.3584, allocations: 35.97 kB / 0.5633 GB, free: 1.594 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.3585, allocations: 83.38 kB / 0.5634 GB, free: 1.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/0.3587, allocations: 97.08 kB / 0.5635 GB, free: 1.402 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3587, allocations: 0 / 0.5635 GB, free: 1.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002865/0.359, allocations: 121.6 kB / 0.5636 GB, free: 1.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3591, allocations: 10.12 kB / 0.5636 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3591, allocations: 4.031 kB / 0.5636 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3591, allocations: 0 / 0.5636 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.3592, allocations: 19.98 kB / 0.5637 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3592, allocations: 3.938 kB / 0.5637 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.258e-05/0.3593, allocations: 15.98 kB / 0.5637 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.3593, allocations: 0 / 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.000107/0.3594, allocations: 121.8 kB / 0.5638 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.3595, allocations: 15.84 kB / 0.5638 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/0.3598, allocations: 146.2 kB / 0.564 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.3598, allocations: 0 / 0.564 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3598, allocations: 3.938 kB / 0.564 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3598, allocations: 0 / 0.564 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006733/0.3605, allocations: 373.6 kB / 0.5643 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3605, allocations: 0 / 0.5643 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.566e-05/0.3606, allocations: 27.92 kB / 0.5643 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.3606, allocations: 7.875 kB / 0.5643 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.3606, allocations: 7.984 kB / 0.5644 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3606, allocations: 0 / 0.5644 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3606, allocations: 0 / 0.5644 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.361, allocations: 223.4 kB / 0.5646 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.361, allocations: 3.953 kB / 0.5646 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.361, allocations: 15.94 kB / 0.5646 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.3611, allocations: 11.98 kB / 0.5646 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.3612, allocations: 7.984 kB / 0.5646 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.3612, allocations: 0 / 0.5646 GB, free: 196 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.3613, allocations: 119.2 kB / 0.5647 GB, free: 76 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3613, allocations: 0 / 0.5647 GB, free: 76 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002979/0.3616, allocations: 43.86 kB / 0.5648 GB, free: 32 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.00245/0.364, allocations: 1.194 MB / 0.5659 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003293/0.3644, allocations: 87.92 kB / 0.566 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3644, allocations: 0 / 0.566 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.3645, allocations: 47.89 kB / 0.5661 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.3649, allocations: 15 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.002305/0.3672, 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 0.0001093/0.3673, allocations: 96.27 kB / 0.5678 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.845e-05/0.3674, allocations: 28.7 kB / 0.5678 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.093e-05/0.3675, allocations: 27.42 kB / 0.5678 GB, free: 12.98 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3675, allocations: 0 / 0.5678 GB, free: 12.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.3917, allocations: 3.895 MB / 0.5716 GB, free: 9.129 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.84, allocations: 6.641 kB / 0.5716 GB, free: 9.125 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.043821443920024]