Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.001709/0.001709, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.001592/0.001592, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2262/0.2262, allocations: 44.94 MB / 358.8 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.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",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.002134/0.002134, allocations: 71.88 kB / 0.493 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3552, allocations: 65.47 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003526/0.3587, allocations: 1.602 MB / 0.5585 GB, free: 5.934 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.3598, allocations: 0.5144 MB / 0.559 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.236e-05/0.3599, allocations: 0 / 0.559 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006872/0.3605, allocations: 451.1 kB / 0.5595 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006127/0.3612, allocations: 291.3 kB / 0.5598 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004198/0.3616, allocations: 139.3 kB / 0.5599 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002904/0.3619, allocations: 159.7 kB / 0.56 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.362, allocations: 16.16 kB / 0.5601 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.3621, allocations: 99.8 kB / 0.5601 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003021/0.3624, allocations: 247.5 kB / 0.5604 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.3625, allocations: 4 kB / 0.5604 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.929e-05/0.3625, allocations: 23.97 kB / 0.5604 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.3627, allocations: 88.61 kB / 0.5605 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.865e-05/0.3627, allocations: 63.31 kB / 0.5606 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003712/0.3631, allocations: 268.4 kB / 0.5608 GB, free: 3.605 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3631, allocations: 0 / 0.5608 GB, free: 3.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3631, allocations: 0 / 0.5608 GB, free: 3.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.3631, allocations: 0 / 0.5608 GB, free: 3.605 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.0008167/0.3639, allocations: 0.5815 MB / 0.5614 GB, free: 2.992 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.364, allocations: 8.031 kB / 0.5614 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.589e-05/0.364, allocations: 34.75 kB / 0.5614 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.861e-05/0.3641, allocations: 48.61 kB / 0.5615 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.3644, allocations: 246.8 kB / 0.5617 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.3644, allocations: 4.375 kB / 0.5617 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.3645, allocations: 4.125 kB / 0.5617 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.3646, allocations: 49.69 kB / 0.5618 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.3646, allocations: 0 / 0.5618 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.3646, allocations: 3.984 kB / 0.5618 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3646, allocations: 0 / 0.5618 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.106e-05/0.3647, allocations: 23.92 kB / 0.5618 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004995/0.3652, allocations: 347.9 kB / 0.5621 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.904e-05/0.3653, allocations: 30.56 kB / 0.5621 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.945e-05/0.3654, allocations: 20.91 kB / 0.5622 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.3654, allocations: 0 / 0.5622 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.273e-05/0.3654, allocations: 34.5 kB / 0.5622 GB, free: 2.051 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3654, allocations: 0 / 0.5622 GB, free: 2.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002901/0.3657, allocations: 97.39 kB / 0.5623 GB, free: 1.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.3658, allocations: 59.53 kB / 0.5623 GB, free: 1.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009445/0.3667, allocations: 0.8699 MB / 0.5632 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.3667, allocations: 33.64 kB / 0.5632 GB, free: 0.957 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.3669, allocations: 224 kB / 0.5634 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.367, allocations: 7.891 kB / 0.5635 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.367, allocations: 21.7 kB / 0.5635 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.3672, allocations: 358.7 kB / 0.5638 GB, free: 348 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.494e-05/0.3673, allocations: 11.98 kB / 0.5638 GB, free: 336 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.613e-05/0.3673, allocations: 8 kB / 0.5638 GB, free: 328 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.413e-05/0.3674, allocations: 32.84 kB / 0.5639 GB, free: 292 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3674, allocations: 0 / 0.5639 GB, free: 292 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001637/0.3675, allocations: 89.41 kB / 0.564 GB, free: 196 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3676, allocations: 4 kB / 0.564 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.3676, allocations: 3.984 kB / 0.564 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.3676, allocations: 4 kB / 0.564 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.206e-05/0.3677, allocations: 4 kB / 0.564 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3677, allocations: 0 / 0.564 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.138e-05/0.3677, allocations: 3.938 kB / 0.564 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.3677, allocations: 11.97 kB / 0.564 GB, free: 164 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 (2): * Single equations (assignments): 2 * 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.0002292/0.368, allocations: 209.8 kB / 0.5642 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.978e-05/0.368, allocations: 39.72 kB / 0.5642 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.3682, allocations: 108.8 kB / 0.5643 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3682, allocations: 0 / 0.5643 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3682, allocations: 0 / 0.5643 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.3682, allocations: 0 / 0.5643 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.3685, allocations: 256.6 kB / 0.5646 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3685, allocations: 0 / 0.5646 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/0.3686, allocations: 8.031 kB / 0.5646 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3686, allocations: 0 / 0.5646 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.3686, allocations: 0 / 0.5646 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3686, allocations: 8 kB / 0.5646 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3686, allocations: 0 / 0.5646 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.3688, allocations: 195.1 kB / 0.5648 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/0.3689, allocations: 39.67 kB / 0.5648 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.3689, allocations: 0 / 0.5648 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-05/0.369, allocations: 7.984 kB / 0.5648 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.637e-05/0.369, allocations: 4.031 kB / 0.5648 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.369, allocations: 4 kB / 0.5648 GB, free: 15.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007936/0.3698, allocations: 0.6666 MB / 0.5655 GB, free: 14.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3698, allocations: 0 / 0.5655 GB, free: 14.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.37, allocations: 16 kB / 0.5655 GB, free: 14.54 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 (2): * Single equations (assignments): 2 * 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.001819/0.3719, allocations: 0.9864 MB / 0.5665 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.372, allocations: 23.92 kB / 0.5665 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.372, allocations: 0 / 0.5665 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.387e-05/0.3721, allocations: 15.98 kB / 0.5665 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.3725, allocations: 23.92 kB / 0.5665 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003753/0.3762, allocations: 3.16 MB / 0.5696 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.3765, allocations: 215.5 kB / 0.5698 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.882e-05/0.3766, allocations: 11.92 kB / 0.5698 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.3768, allocations: 123.3 kB / 0.5699 GB, free: 10 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3768, allocations: 0 / 0.5699 GB, free: 10 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0351/0.4119, allocations: 6.263 MB / 0.576 GB, free: 3.789 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.93, allocations: 4.875 kB / 0.5761 GB, free: 3.785 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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: 14.97989112092182]