Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.001811/0.001811, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002242/0.002242, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.481/1.481, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.2257/0.2257, allocations: 44.92 MB / 359.6 MB, free: 6.289 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.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16",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.002019/0.002019, allocations: 59.91 kB / 0.4939 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3514, allocations: 65.47 MB / 0.5578 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003114/0.3545, allocations: 1.635 MB / 0.5594 GB, free: 6.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.3556, allocations: 0.5582 MB / 0.56 GB, free: 5.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.046e-05/0.3556, allocations: 0 / 0.56 GB, free: 5.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002605/0.3559, allocations: 79.7 kB / 0.56 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.3562, allocations: 99.66 kB / 0.5601 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.3564, allocations: 95.69 kB / 0.5602 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.3566, allocations: 83.75 kB / 0.5603 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.3567, allocations: 15.98 kB / 0.5603 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.211e-05/0.3568, allocations: 39.89 kB / 0.5603 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.3569, allocations: 51.83 kB / 0.5604 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.3569, allocations: 4 kB / 0.5604 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.774e-05/0.357, allocations: 55.84 kB / 0.5605 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.136e-05/0.3571, allocations: 27.86 kB / 0.5605 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.548e-05/0.3571, allocations: 31.75 kB / 0.5605 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.3573, allocations: 105.7 kB / 0.5606 GB, free: 4.906 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3573, allocations: 0 / 0.5606 GB, free: 4.906 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.457e-06/0.3573, allocations: 4 kB / 0.5606 GB, free: 4.902 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.3573, allocations: 0 / 0.5606 GB, free: 4.902 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.0004809/0.3578, allocations: 333.6 kB / 0.5609 GB, free: 4.547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.3578, allocations: 8.031 kB / 0.5609 GB, free: 4.539 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.401e-05/0.3578, allocations: 8.125 kB / 0.561 GB, free: 4.531 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.277e-05/0.3579, allocations: 42.67 kB / 0.561 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.3579, allocations: 16.84 kB / 0.561 GB, free: 4.465 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.3581, allocations: 143 kB / 0.5611 GB, free: 4.297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.3581, allocations: 4.375 kB / 0.5611 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.3581, allocations: 4.125 kB / 0.5612 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.3583, allocations: 53.67 kB / 0.5612 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3583, allocations: 0 / 0.5612 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.3583, allocations: 4 kB / 0.5612 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.3583, allocations: 0 / 0.5612 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.676e-05/0.3584, allocations: 31.97 kB / 0.5612 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.3588, allocations: 263.8 kB / 0.5615 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.3589, allocations: 42.56 kB / 0.5615 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.016e-05/0.3589, allocations: 16.86 kB / 0.5615 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.359, allocations: 0 / 0.5615 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.359, allocations: 42.58 kB / 0.5616 GB, free: 3.773 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.359, allocations: 0 / 0.5616 GB, free: 3.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008813/0.3599, allocations: 229.6 kB / 0.5618 GB, free: 3.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.3599, allocations: 59.34 kB / 0.5619 GB, free: 3.473 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.3601, allocations: 210.3 kB / 0.5621 GB, free: 3.258 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.3602, allocations: 25.7 kB / 0.5621 GB, free: 3.227 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.072e-05/0.3602, allocations: 108.1 kB / 0.5622 GB, free: 3.117 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.3603, allocations: 31.73 kB / 0.5622 GB, free: 3.086 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-05/0.3603, allocations: 25.72 kB / 0.5622 GB, free: 3.055 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3605, allocations: 322.8 kB / 0.5626 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.186e-05/0.3606, allocations: 23.98 kB / 0.5626 GB, free: 2.707 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.084e-05/0.3606, allocations: 31.97 kB / 0.5626 GB, free: 2.676 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.3608, allocations: 60.91 kB / 0.5627 GB, free: 2.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3608, allocations: 0 / 0.5627 GB, free: 2.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002137/0.361, allocations: 101.5 kB / 0.5628 GB, free: 2.508 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.361, allocations: 8 kB / 0.5628 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.361, allocations: 3.938 kB / 0.5628 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.361, allocations: 0 / 0.5628 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.94e-05/0.3611, allocations: 23.92 kB / 0.5628 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.3611, allocations: 3.938 kB / 0.5628 GB, free: 2.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.484e-05/0.3612, allocations: 4 kB / 0.5628 GB, free: 2.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.3612, allocations: 7.984 kB / 0.5628 GB, free: 2.457 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 (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.0001086/0.3613, allocations: 121.8 kB / 0.5629 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/0.3613, allocations: 19.89 kB / 0.5629 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.3616, allocations: 119 kB / 0.5631 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3616, allocations: 0 / 0.5631 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3616, allocations: 3.938 kB / 0.5631 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3616, allocations: 4 kB / 0.5631 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005321/0.3622, allocations: 374.7 kB / 0.5634 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.3622, allocations: 7.938 kB / 0.5634 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.941e-05/0.3622, allocations: 15.98 kB / 0.5634 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3623, allocations: 4.031 kB / 0.5635 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.3623, allocations: 4 kB / 0.5635 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3623, allocations: 0 / 0.5635 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3623, allocations: 4.016 kB / 0.5635 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.3625, allocations: 204.3 kB / 0.5637 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.3626, allocations: 23.83 kB / 0.5637 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.3626, allocations: 4 kB / 0.5637 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.364e-05/0.3626, allocations: 4 kB / 0.5637 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.3627, allocations: 7.984 kB / 0.5637 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.3627, allocations: 4 kB / 0.5637 GB, free: 1.453 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000141/0.3628, allocations: 168.2 kB / 0.5639 GB, free: 1.289 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3628, allocations: 0 / 0.5639 GB, free: 1.289 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000331/0.3632, allocations: 23.94 kB / 0.5639 GB, free: 1.266 MB / 398.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.002202/0.3654, allocations: 1.1 MB / 0.565 GB, free: 332 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002353/0.3656, allocations: 59.91 kB / 0.565 GB, free: 272 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3656, allocations: 0 / 0.565 GB, free: 272 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.829e-05/0.3657, allocations: 27.98 kB / 0.565 GB, free: 244 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.3661, allocations: 17.3 kB / 0.5651 GB, free: 228 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.3681, allocations: 1.685 MB / 0.5667 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.3685, allocations: 0.7119 MB / 0.5674 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.503e-05/0.3685, allocations: 16.97 kB / 0.5674 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.919e-05/0.3686, allocations: 31.42 kB / 0.5674 GB, free: 13.67 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3686, allocations: 0 / 0.5674 GB, free: 13.67 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.3918, allocations: 3.318 MB / 0.5707 GB, free: 10.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.88, allocations: 9.422 kB / 0.5707 GB, free: 10.42 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.043360938027035]