Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.001306/0.001306, 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.001514/0.001514, allocations: 212.3 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.472/1.472, allocations: 230.6 MB / 258.3 MB, free: 7.73 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.2269/0.2269, allocations: 44.93 MB / 359.6 MB, free: 6.023 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.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25",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.002034/0.002034, allocations: 71.83 kB / 0.4938 GB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.367, allocations: 65.47 MB / 0.5577 GB, free: 7.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003371/0.3704, allocations: 1.666 MB / 0.5594 GB, free: 5.824 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.3716, allocations: 0.5544 MB / 0.5599 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.88e-05/0.3717, allocations: 4 kB / 0.5599 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.3719, allocations: 43.8 kB / 0.56 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003296/0.3723, allocations: 107.5 kB / 0.5601 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004529/0.3727, allocations: 179.2 kB / 0.5602 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000206/0.3729, allocations: 91.77 kB / 0.5603 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.3731, allocations: 18.03 kB / 0.5603 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.705e-05/0.3732, allocations: 47.78 kB / 0.5604 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.3733, allocations: 43.83 kB / 0.5604 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.3733, allocations: 4 kB / 0.5604 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.3734, allocations: 43.98 kB / 0.5605 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.963e-05/0.3735, allocations: 31.91 kB / 0.5605 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.2e-05/0.3736, allocations: 27.8 kB / 0.5605 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.3738, allocations: 123.4 kB / 0.5606 GB, free: 4.516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3738, allocations: 0 / 0.5606 GB, free: 4.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3738, allocations: 3.938 kB / 0.5607 GB, free: 4.512 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.3738, allocations: 0 / 0.5607 GB, free: 4.512 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.0006173/0.3744, allocations: 349.6 kB / 0.561 GB, free: 4.141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.3745, allocations: 12.03 kB / 0.561 GB, free: 4.129 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.286e-05/0.3745, allocations: 4.188 kB / 0.561 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.625e-05/0.3745, allocations: 34.75 kB / 0.561 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/0.3746, allocations: 12.84 kB / 0.561 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.3748, allocations: 150.3 kB / 0.5612 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.3748, allocations: 384 / 0.5612 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.3748, allocations: 8.125 kB / 0.5612 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.375, allocations: 77.58 kB / 0.5613 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.375, allocations: 4 kB / 0.5613 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.375, allocations: 0 / 0.5613 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.974e-06/0.3751, allocations: 4 kB / 0.5613 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.3752, allocations: 39.97 kB / 0.5613 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005173/0.3757, allocations: 287.8 kB / 0.5616 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.376, allocations: 54.55 kB / 0.5616 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.934e-05/0.3761, allocations: 24.97 kB / 0.5617 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.3761, allocations: 7.938 kB / 0.5617 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.3761, allocations: 42.64 kB / 0.5617 GB, free: 3.289 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.3761, allocations: 3.938 kB / 0.5617 GB, free: 3.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001532/0.3776, allocations: 417 kB / 0.5621 GB, free: 2.871 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.3777, allocations: 51.41 kB / 0.5622 GB, free: 2.809 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.3779, allocations: 186.2 kB / 0.5623 GB, free: 2.613 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.3779, allocations: 33.64 kB / 0.5624 GB, free: 2.574 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.192e-05/0.378, allocations: 100.1 kB / 0.5625 GB, free: 2.473 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.275e-05/0.378, allocations: 51.56 kB / 0.5625 GB, free: 2.422 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.513e-05/0.3781, allocations: 25.72 kB / 0.5625 GB, free: 2.391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.3782, allocations: 322.8 kB / 0.5629 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.3784, allocations: 51.95 kB / 0.5629 GB, free: 2.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.3785, allocations: 56.52 kB / 0.563 GB, free: 1.961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.3788, allocations: 132.7 kB / 0.5631 GB, free: 1.828 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3788, allocations: 0 / 0.5631 GB, free: 1.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003401/0.3791, allocations: 157.6 kB / 0.5632 GB, free: 1.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.3791, allocations: 10.48 kB / 0.5632 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3792, allocations: 0 / 0.5632 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.3792, allocations: 7.938 kB / 0.5633 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.3793, allocations: 35.98 kB / 0.5633 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3793, allocations: 0 / 0.5633 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.545e-05/0.3794, allocations: 7.984 kB / 0.5633 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.3794, allocations: 4 kB / 0.5633 GB, free: 1.605 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.0001243/0.3795, allocations: 133.8 kB / 0.5634 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.3795, allocations: 11.91 kB / 0.5634 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004398/0.38, allocations: 194.6 kB / 0.5636 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.38, allocations: 0 / 0.5636 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.38, allocations: 0 / 0.5636 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.38, allocations: 7.984 kB / 0.5636 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007252/0.3807, allocations: 463 kB / 0.5641 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3807, allocations: 0 / 0.5641 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.3808, allocations: 28.05 kB / 0.5641 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.3808, allocations: 4 kB / 0.5641 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.3808, allocations: 3.938 kB / 0.5641 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.3808, allocations: 0 / 0.5641 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.3808, allocations: 4 kB / 0.5641 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004127/0.3813, allocations: 273.1 kB / 0.5644 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.55e-05/0.3813, allocations: 19.89 kB / 0.5644 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.3813, allocations: 4 kB / 0.5644 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.792e-05/0.3814, allocations: 11.98 kB / 0.5644 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.3815, allocations: 16.02 kB / 0.5644 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.477e-06/0.3815, allocations: 7.938 kB / 0.5644 GB, free: 360 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.3816, allocations: 144 kB / 0.5646 GB, free: 216 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3816, allocations: 0 / 0.5646 GB, free: 216 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.3819, allocations: 27.94 kB / 0.5646 GB, free: 188 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.002496/0.3844, allocations: 1.192 MB / 0.5658 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000362/0.3847, allocations: 135.7 kB / 0.5659 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3847, allocations: 0 / 0.5659 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.3849, allocations: 67.89 kB / 0.5659 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.3853, allocations: 23.17 kB / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/0.3878, allocations: 1.904 MB / 0.5678 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.3879, allocations: 96.73 kB / 0.5679 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.882e-05/0.388, allocations: 32.47 kB / 0.568 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.06e-05/0.3881, allocations: 39.61 kB / 0.568 GB, free: 12.78 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3881, allocations: 0 / 0.568 GB, free: 12.78 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.4138, allocations: 3.713 MB / 0.5716 GB, free: 9.121 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.72, allocations: 12.48 kB / 0.5716 GB, free: 9.117 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.886162254028022]