Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001329/0.001329, 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.00152/0.00152, allocations: 211.8 kB / 24.51 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.467/1.467, 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.221/0.221, allocations: 44.93 MB / 359.6 MB, free: 6.059 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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",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.002146/0.002146, allocations: 67.91 kB / 0.4938 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3639, allocations: 65.47 MB / 0.5577 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003561/0.3675, allocations: 1.664 MB / 0.5594 GB, free: 6.027 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.3686, allocations: 0.5622 MB / 0.5599 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.503e-05/0.3687, allocations: 4 kB / 0.5599 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006201/0.3693, allocations: 455.1 kB / 0.5604 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005087/0.3698, allocations: 299.3 kB / 0.5606 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000489/0.3703, allocations: 179.2 kB / 0.5608 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002825/0.3706, allocations: 179.6 kB / 0.561 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.3707, allocations: 22.31 kB / 0.561 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.3709, allocations: 111.7 kB / 0.5611 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002996/0.3712, allocations: 247.5 kB / 0.5614 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.3712, allocations: 4 kB / 0.5614 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.3713, allocations: 55.91 kB / 0.5614 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.3714, allocations: 79.7 kB / 0.5615 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.543e-05/0.3715, allocations: 87.16 kB / 0.5616 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.3719, allocations: 286.5 kB / 0.5618 GB, free: 3.492 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3719, allocations: 4 kB / 0.5618 GB, free: 3.488 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3719, allocations: 3.938 kB / 0.5618 GB, free: 3.484 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.3719, allocations: 0 / 0.5618 GB, free: 3.484 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.0008262/0.3727, allocations: 0.5951 MB / 0.5624 GB, free: 2.859 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.3728, allocations: 12.03 kB / 0.5624 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.629e-05/0.3728, allocations: 8.188 kB / 0.5624 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.247e-05/0.3728, allocations: 30.75 kB / 0.5625 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.244e-05/0.3729, allocations: 44.66 kB / 0.5625 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.3732, allocations: 254.8 kB / 0.5628 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.465e-06/0.3732, allocations: 4.375 kB / 0.5628 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.3732, allocations: 8.125 kB / 0.5628 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.3734, allocations: 65.59 kB / 0.5628 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3734, allocations: 0 / 0.5628 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.3734, allocations: 4 kB / 0.5628 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3734, allocations: 0 / 0.5628 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.3736, allocations: 27.98 kB / 0.5629 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005493/0.3741, allocations: 375.7 kB / 0.5632 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.3742, allocations: 54.55 kB / 0.5633 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.82e-05/0.3743, allocations: 24.88 kB / 0.5633 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.3743, allocations: 0 / 0.5633 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.3743, allocations: 30.56 kB / 0.5633 GB, free: 1.832 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.3743, allocations: 0 / 0.5633 GB, free: 1.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001015/0.3753, allocations: 336.5 kB / 0.5637 GB, free: 1.496 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.3754, allocations: 59.34 kB / 0.5637 GB, free: 1.426 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009354/0.3763, allocations: 0.8777 MB / 0.5646 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.3764, allocations: 25.7 kB / 0.5646 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.3766, allocations: 228 kB / 0.5648 GB, free: 284 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.3766, allocations: 27.73 kB / 0.5648 GB, free: 256 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.3766, allocations: 21.72 kB / 0.5649 GB, free: 228 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.3768, allocations: 366.8 kB / 0.5652 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.595e-05/0.3769, allocations: 27.98 kB / 0.5652 GB, free: 15.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.859e-05/0.377, allocations: 35.97 kB / 0.5653 GB, free: 15.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.3772, allocations: 72.83 kB / 0.5653 GB, free: 15.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3772, allocations: 0 / 0.5653 GB, free: 15.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002735/0.3774, allocations: 149.3 kB / 0.5655 GB, free: 15.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.3775, allocations: 11.94 kB / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3775, allocations: 0 / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.3775, allocations: 3.938 kB / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.3776, allocations: 23.98 kB / 0.5655 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3776, allocations: 0 / 0.5655 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.273e-05/0.3776, allocations: 4 kB / 0.5655 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.3777, allocations: 0 / 0.5655 GB, free: 15.52 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 (8): * Single equations (assignments): 8 * 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.0002141/0.3779, allocations: 217.8 kB / 0.5657 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.243e-05/0.3779, allocations: 43.72 kB / 0.5658 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003836/0.3783, allocations: 181.8 kB / 0.5659 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.3783, allocations: 7.938 kB / 0.566 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3783, allocations: 4 kB / 0.566 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.3783, allocations: 0 / 0.566 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007427/0.3791, allocations: 0.4904 MB / 0.5664 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3791, allocations: 0 / 0.5664 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.777e-05/0.3791, allocations: 19.98 kB / 0.5665 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.3792, allocations: 0 / 0.5665 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.3792, allocations: 0 / 0.5665 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.902e-06/0.3792, allocations: 4.031 kB / 0.5665 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3792, allocations: 4 kB / 0.5665 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.3795, allocations: 256 kB / 0.5667 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.404e-05/0.3796, allocations: 39.67 kB / 0.5667 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.3796, allocations: 0 / 0.5667 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.881e-05/0.3797, allocations: 11.98 kB / 0.5668 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.3797, allocations: 4 kB / 0.5668 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.3797, allocations: 7.922 kB / 0.5668 GB, free: 14.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006928/0.3804, allocations: 0.6628 MB / 0.5674 GB, free: 13.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3804, allocations: 4 kB / 0.5674 GB, free: 13.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.3807, allocations: 31.98 kB / 0.5674 GB, free: 13.45 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002392/0.3831, allocations: 1.167 MB / 0.5686 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002533/0.3833, allocations: 75.92 kB / 0.5687 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3833, allocations: 0 / 0.5687 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.3835, allocations: 39.92 kB / 0.5687 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.3839, allocations: 29.95 kB / 0.5687 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00436/0.3883, allocations: 3.408 MB / 0.5721 GB, free: 8.836 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.3885, allocations: 228.7 kB / 0.5723 GB, free: 8.598 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.452e-05/0.3886, allocations: 24.41 kB / 0.5723 GB, free: 8.574 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.3888, allocations: 115.4 kB / 0.5724 GB, free: 8.461 MB / 414.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3888, allocations: 0 / 0.5724 GB, free: 8.461 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0301/0.4189, allocations: 6.727 MB / 0.579 GB, free: 1.789 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.58, allocations: 9.125 kB / 0.579 GB, free: 1.785 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.668543847976252]