Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.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.00134/0.00134, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001645/0.001645, allocations: 216.3 kB / 23.73 MB, free: 4.164 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.491/1.491, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2272/0.2272, allocations: 44.94 MB / 358.8 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.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26",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.002363/0.002363, allocations: 71.89 kB / 0.4931 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3391, allocations: 65.46 MB / 0.557 GB, free: 7.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.003632/0.3428, allocations: 1.674 MB / 0.5586 GB, free: 5.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.344, allocations: 0.566 MB / 0.5592 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.868e-05/0.3441, allocations: 0 / 0.5592 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.3444, allocations: 59.78 kB / 0.5592 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000318/0.3447, allocations: 91.61 kB / 0.5593 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000451/0.3452, allocations: 179.4 kB / 0.5595 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.3454, allocations: 99.73 kB / 0.5596 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.3455, allocations: 18.05 kB / 0.5596 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.23e-05/0.3455, allocations: 39.78 kB / 0.5596 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.598e-05/0.3456, allocations: 47.77 kB / 0.5597 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.3456, allocations: 4 kB / 0.5597 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.3457, allocations: 51.97 kB / 0.5597 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.118e-05/0.3458, allocations: 23.92 kB / 0.5598 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.958e-05/0.3458, allocations: 27.81 kB / 0.5598 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.3461, allocations: 131.4 kB / 0.5599 GB, free: 4.422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3461, allocations: 0 / 0.5599 GB, free: 4.422 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3461, allocations: 4 kB / 0.5599 GB, free: 4.418 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.3461, allocations: 0 / 0.5599 GB, free: 4.418 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.0005607/0.3466, allocations: 348 kB / 0.5602 GB, free: 4.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.3467, allocations: 12.03 kB / 0.5603 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.653e-05/0.3467, allocations: 38.73 kB / 0.5603 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.3468, allocations: 12.84 kB / 0.5603 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.347, allocations: 143.1 kB / 0.5604 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.347, allocations: 4.375 kB / 0.5604 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.347, allocations: 8.375 kB / 0.5605 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.3472, allocations: 69.55 kB / 0.5605 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3472, allocations: 3.953 kB / 0.5605 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.3472, allocations: 0 / 0.5605 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.3472, allocations: 4 kB / 0.5605 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.3474, allocations: 43.95 kB / 0.5606 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.3479, allocations: 291.8 kB / 0.5608 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.3482, allocations: 58.53 kB / 0.5609 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.091e-05/0.3483, allocations: 28.97 kB / 0.5609 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.3483, allocations: 0 / 0.5609 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.3483, allocations: 38.59 kB / 0.561 GB, free: 3.207 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.3483, allocations: 0 / 0.561 GB, free: 3.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001517/0.3498, allocations: 440.8 kB / 0.5614 GB, free: 2.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.3499, allocations: 55.41 kB / 0.5614 GB, free: 2.703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.3501, allocations: 192.2 kB / 0.5616 GB, free: 2.504 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.3501, allocations: 29.7 kB / 0.5617 GB, free: 2.469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.393e-05/0.3502, allocations: 100.1 kB / 0.5617 GB, free: 2.367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.3502, allocations: 43.64 kB / 0.5618 GB, free: 2.324 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-05/0.3503, allocations: 25.72 kB / 0.5618 GB, free: 2.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3504, allocations: 322.8 kB / 0.5621 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.3506, allocations: 60.52 kB / 0.5622 GB, free: 1.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.3507, allocations: 51.95 kB / 0.5622 GB, free: 1.859 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.351, allocations: 132.7 kB / 0.5624 GB, free: 1.727 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.351, allocations: 0 / 0.5624 GB, free: 1.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003528/0.3513, allocations: 165.6 kB / 0.5625 GB, free: 1.559 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3514, allocations: 4 kB / 0.5625 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3514, allocations: 4 kB / 0.5625 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.3514, allocations: 7.938 kB / 0.5625 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.3515, allocations: 23.98 kB / 0.5626 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3515, allocations: 0 / 0.5626 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.894e-05/0.3516, allocations: 11.98 kB / 0.5626 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.3516, allocations: 0 / 0.5626 GB, free: 1.508 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 (11): * Single equations (assignments): 11 * 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.0001383/0.3517, allocations: 137.8 kB / 0.5627 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.3518, allocations: 11.91 kB / 0.5627 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004535/0.3522, allocations: 194.9 kB / 0.5629 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.3522, allocations: 3.938 kB / 0.5629 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3522, allocations: 0 / 0.5629 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3522, allocations: 0 / 0.5629 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007578/0.353, allocations: 475 kB / 0.5633 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.353, allocations: 0 / 0.5633 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.3531, allocations: 27.97 kB / 0.5634 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3531, allocations: 3.938 kB / 0.5634 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.3531, allocations: 8 kB / 0.5634 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3531, allocations: 0 / 0.5634 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.3531, allocations: 4 kB / 0.5634 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004185/0.3535, allocations: 277.6 kB / 0.5637 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.215e-05/0.3536, allocations: 8.047 kB / 0.5637 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.3536, allocations: 11.94 kB / 0.5637 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.3537, allocations: 7.984 kB / 0.5637 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.3537, allocations: 11.92 kB / 0.5637 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.3537, allocations: 4 kB / 0.5637 GB, free: 248 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001383/0.3539, allocations: 156.9 kB / 0.5638 GB, free: 92 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3539, allocations: 0 / 0.5638 GB, free: 92 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000283/0.3542, allocations: 35.92 kB / 0.5639 GB, free: 56 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002602/0.3568, allocations: 1.204 MB / 0.5651 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000371/0.3571, allocations: 119.8 kB / 0.5652 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3571, allocations: 0 / 0.5652 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.3573, allocations: 71.89 kB / 0.5652 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.3577, allocations: 20.09 kB / 0.5653 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.3604, allocations: 1.92 MB / 0.5671 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.3605, allocations: 104.7 kB / 0.5672 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.668e-05/0.3606, allocations: 32.27 kB / 0.5673 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.82e-05/0.3606, allocations: 39.42 kB / 0.5673 GB, free: 12.63 MB / 414.1 MB Notification: Performance of SimCode: time 4.9e-07/0.3607, allocations: 8 kB / 0.5673 GB, free: 12.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03197/0.3926, allocations: 4.08 MB / 0.5713 GB, free: 8.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.72, allocations: 0 / 0.5713 GB, free: 8.59 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.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.78860491886735]