Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.001629/0.001629, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002141/0.002141, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.541/1.541, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.2381/0.2381, allocations: 44.94 MB / 359.6 MB, free: 6.031 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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7",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.002126/0.002126, allocations: 59.91 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3205, allocations: 65.47 MB / 0.5577 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002975/0.3235, allocations: 1.59 MB / 0.5593 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009886/0.3244, allocations: 0.5076 MB / 0.5598 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.77e-05/0.3245, allocations: 0 / 0.5598 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.3247, allocations: 39.83 kB / 0.5598 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002684/0.3249, allocations: 75.62 kB / 0.5599 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.3252, allocations: 91.45 kB / 0.56 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.3253, allocations: 67.77 kB / 0.5601 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.231e-05/0.3254, allocations: 13.81 kB / 0.5601 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.871e-05/0.3255, allocations: 27.86 kB / 0.5601 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.711e-05/0.3255, allocations: 19.86 kB / 0.5601 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.3256, allocations: 4 kB / 0.5601 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.487e-05/0.3256, allocations: 36 kB / 0.5601 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.117e-05/0.3257, allocations: 19.91 kB / 0.5602 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.3257, allocations: 11.88 kB / 0.5602 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.3259, allocations: 95.53 kB / 0.5603 GB, free: 4.949 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3259, allocations: 0 / 0.5603 GB, free: 4.949 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3259, allocations: 0 / 0.5603 GB, free: 4.949 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.3259, allocations: 0 / 0.5603 GB, free: 4.949 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.0004441/0.3263, allocations: 317.8 kB / 0.5606 GB, free: 4.609 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.3264, allocations: 8.031 kB / 0.5606 GB, free: 4.602 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.41e-05/0.3264, allocations: 4.188 kB / 0.5606 GB, free: 4.598 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.497e-05/0.3264, allocations: 30.75 kB / 0.5606 GB, free: 4.559 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.3265, allocations: 16.89 kB / 0.5606 GB, free: 4.543 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.3266, allocations: 130.4 kB / 0.5608 GB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-06/0.3266, allocations: 4.375 kB / 0.5608 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.3267, allocations: 8.125 kB / 0.5608 GB, free: 4.379 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.3268, allocations: 53.61 kB / 0.5608 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3268, allocations: 0 / 0.5608 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.3268, allocations: 0 / 0.5608 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.3268, allocations: 0 / 0.5608 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.926e-05/0.3269, allocations: 19.98 kB / 0.5608 GB, free: 4.301 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.3272, allocations: 244 kB / 0.5611 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.3274, allocations: 50.48 kB / 0.5611 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.74e-05/0.3275, allocations: 16.86 kB / 0.5611 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.3275, allocations: 0 / 0.5611 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.3275, allocations: 34.56 kB / 0.5612 GB, free: 3.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.3275, allocations: 0 / 0.5612 GB, free: 3.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005394/0.3281, allocations: 145.4 kB / 0.5613 GB, free: 3.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.3281, allocations: 55.41 kB / 0.5614 GB, free: 3.684 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.3283, allocations: 167.8 kB / 0.5615 GB, free: 3.512 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.3283, allocations: 29.7 kB / 0.5615 GB, free: 3.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/0.3284, allocations: 92.14 kB / 0.5616 GB, free: 3.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.3284, allocations: 27.77 kB / 0.5617 GB, free: 3.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.3284, allocations: 13.72 kB / 0.5617 GB, free: 3.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3286, allocations: 322.8 kB / 0.562 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.059e-05/0.3286, allocations: 19.98 kB / 0.562 GB, free: 2.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.855e-05/0.3287, allocations: 15.98 kB / 0.562 GB, free: 2.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.3288, allocations: 56.77 kB / 0.5621 GB, free: 2.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.3288, allocations: 0 / 0.5621 GB, free: 2.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001819/0.329, allocations: 77.62 kB / 0.5621 GB, free: 2.836 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.329, allocations: 7.938 kB / 0.5622 GB, free: 2.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.329, allocations: 0 / 0.5622 GB, free: 2.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.329, allocations: 4 kB / 0.5622 GB, free: 2.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.6e-05/0.3291, allocations: 11.98 kB / 0.5622 GB, free: 2.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.3291, allocations: 4.188 kB / 0.5622 GB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.184e-05/0.3292, allocations: 8 kB / 0.5622 GB, free: 2.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.3292, allocations: 4 kB / 0.5622 GB, free: 2.797 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 (5): * Single equations (assignments): 5 * 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 9.585e-05/0.3293, allocations: 121.8 kB / 0.5623 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.3293, allocations: 15.83 kB / 0.5623 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002443/0.3295, allocations: 90.34 kB / 0.5624 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3295, allocations: 0 / 0.5624 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3295, allocations: 3.938 kB / 0.5624 GB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3295, allocations: 3.984 kB / 0.5624 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004348/0.33, allocations: 317.6 kB / 0.5627 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.33, allocations: 0 / 0.5627 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.764e-05/0.33, allocations: 12 kB / 0.5627 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.33, allocations: 3.938 kB / 0.5627 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.3301, allocations: 7.984 kB / 0.5627 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3301, allocations: 0 / 0.5627 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3301, allocations: 0 / 0.5627 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.3303, allocations: 171.5 kB / 0.5629 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.839e-05/0.3303, allocations: 15.89 kB / 0.5629 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.3303, allocations: 0 / 0.5629 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.473e-05/0.3304, allocations: 7.984 kB / 0.5629 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.3304, allocations: 3.938 kB / 0.5629 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.3305, allocations: 4 kB / 0.5629 GB, free: 1.941 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.3306, allocations: 127.2 kB / 0.563 GB, free: 1.816 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3306, allocations: 0 / 0.563 GB, free: 1.816 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.3308, allocations: 15.95 kB / 0.5631 GB, free: 1.801 MB / 398.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 (5): * Single equations (assignments): 5 * 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.002042/0.3329, allocations: 1.048 MB / 0.5641 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.333, allocations: 51.89 kB / 0.5641 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.333, allocations: 0 / 0.5641 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.143e-05/0.3331, allocations: 23.98 kB / 0.5642 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.3335, allocations: 18.64 kB / 0.5642 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.3352, allocations: 1.476 MB / 0.5656 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.708e-05/0.3353, allocations: 75.33 kB / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.855e-05/0.3354, allocations: 16.09 kB / 0.5657 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.477e-05/0.3354, allocations: 27.42 kB / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3354, allocations: 4 kB / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.3575, allocations: 2.837 MB / 0.5685 GB, free: 12.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.85, allocations: 6.297 kB / 0.5685 GB, free: 12.34 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.149182006018236]