Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001981/0.001981, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002243/0.002243, allocations: 213.5 kB / 23.75 MB, free: 4.668 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.531/1.531, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2313/0.2313, allocations: 44.91 MB / 358.8 MB, free: 6.277 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.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",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.002193/0.002193, allocations: 67.89 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3694, allocations: 65.46 MB / 0.557 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.00328/0.3727, allocations: 1.686 MB / 0.5587 GB, free: 6.082 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.3738, allocations: 0.5699 MB / 0.5592 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.055e-05/0.3739, allocations: 0 / 0.5592 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.3742, allocations: 103.7 kB / 0.5593 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003096/0.3745, allocations: 111.6 kB / 0.5594 GB, free: 5.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.3748, allocations: 111.7 kB / 0.5596 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.375, allocations: 107.7 kB / 0.5597 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.3751, allocations: 17.81 kB / 0.5597 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.344e-05/0.3752, allocations: 47.78 kB / 0.5597 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.3753, allocations: 71.78 kB / 0.5598 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.3753, allocations: 8 kB / 0.5598 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.3755, allocations: 47.97 kB / 0.5598 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.752e-05/0.3755, allocations: 27.86 kB / 0.5599 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.369e-05/0.3756, allocations: 43.69 kB / 0.5599 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.3759, allocations: 135.4 kB / 0.56 GB, free: 4.691 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3759, allocations: 0 / 0.56 GB, free: 4.691 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3759, allocations: 0 / 0.56 GB, free: 4.691 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.3759, allocations: 0 / 0.56 GB, free: 4.691 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005383/0.3764, allocations: 373.4 kB / 0.5604 GB, free: 4.297 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3764, allocations: 12.03 kB / 0.5604 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.44e-05/0.3765, allocations: 38.75 kB / 0.5604 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.3765, allocations: 12.84 kB / 0.5605 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.3768, allocations: 150.8 kB / 0.5606 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.3768, allocations: 4.375 kB / 0.5606 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.3768, allocations: 12.31 kB / 0.5606 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.377, allocations: 77.34 kB / 0.5607 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.377, allocations: 3.953 kB / 0.5607 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.377, allocations: 4 kB / 0.5607 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.377, allocations: 0 / 0.5607 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.3771, allocations: 47.97 kB / 0.5607 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.3776, allocations: 315.7 kB / 0.561 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.3778, allocations: 62.55 kB / 0.5611 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.697e-05/0.3779, allocations: 20.84 kB / 0.5611 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.3779, allocations: 8 kB / 0.5611 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.3779, allocations: 34.55 kB / 0.5612 GB, free: 3.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.3779, allocations: 0 / 0.5612 GB, free: 3.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001084/0.379, allocations: 345.1 kB / 0.5615 GB, free: 3.066 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.379, allocations: 55.41 kB / 0.5615 GB, free: 3 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/0.3793, allocations: 235.5 kB / 0.5618 GB, free: 2.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.3794, allocations: 37.69 kB / 0.5618 GB, free: 2.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.478e-05/0.3795, allocations: 108.1 kB / 0.5619 GB, free: 2.598 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.984e-05/0.3795, allocations: 51.52 kB / 0.562 GB, free: 2.547 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.776e-05/0.3796, allocations: 25.72 kB / 0.562 GB, free: 2.516 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3797, allocations: 326.8 kB / 0.5623 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.3799, allocations: 47.97 kB / 0.5623 GB, free: 2.141 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.38, allocations: 43.97 kB / 0.5624 GB, free: 2.098 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.3802, allocations: 108.8 kB / 0.5625 GB, free: 1.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3802, allocations: 0 / 0.5625 GB, free: 1.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002998/0.3805, allocations: 165.5 kB / 0.5626 GB, free: 1.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3805, allocations: 4 kB / 0.5626 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3805, allocations: 7.938 kB / 0.5627 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3805, allocations: 0 / 0.5627 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.3807, allocations: 27.98 kB / 0.5627 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.3807, allocations: 0 / 0.5627 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.905e-05/0.3807, allocations: 7.984 kB / 0.5627 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.3807, allocations: 4.703 kB / 0.5627 GB, free: 1.77 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 (13): * Single equations (assignments): 13 * 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.0001287/0.3809, allocations: 141.8 kB / 0.5628 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.3809, allocations: 15.91 kB / 0.5628 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003878/0.3813, allocations: 194.7 kB / 0.563 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3813, allocations: 4 kB / 0.563 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3813, allocations: 0 / 0.563 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3813, allocations: 0 / 0.563 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006898/0.382, allocations: 474.1 kB / 0.5635 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.382, allocations: 4.031 kB / 0.5635 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.465e-05/0.3821, allocations: 31.98 kB / 0.5635 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3821, allocations: 0 / 0.5635 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.3821, allocations: 0 / 0.5635 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.3821, allocations: 7.984 kB / 0.5635 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3821, allocations: 0 / 0.5635 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.3825, allocations: 260.1 kB / 0.5638 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.108e-05/0.3825, allocations: 11.91 kB / 0.5638 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.3825, allocations: 4 kB / 0.5638 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.93e-05/0.3826, allocations: 11.98 kB / 0.5638 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.3826, allocations: 7.984 kB / 0.5638 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.3826, allocations: 4 kB / 0.5638 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001654/0.3828, allocations: 181.2 kB / 0.564 GB, free: 368 kB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3828, allocations: 0 / 0.564 GB, free: 368 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.3831, allocations: 27.94 kB / 0.564 GB, free: 340 kB / 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 (13): * Single equations (assignments): 13 * 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.002266/0.3853, allocations: 1.16 MB / 0.5651 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000287/0.3856, allocations: 99.94 kB / 0.5652 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3856, allocations: 0 / 0.5652 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.3857, allocations: 59.91 kB / 0.5653 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.3861, allocations: 33.64 kB / 0.5653 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.3885, allocations: 1.916 MB / 0.5672 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.389, allocations: 0.7236 MB / 0.5679 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.724e-05/0.389, allocations: 28.45 kB / 0.5679 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.549e-05/0.3891, allocations: 43.42 kB / 0.568 GB, free: 12.32 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3891, allocations: 0 / 0.568 GB, free: 12.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03099/0.4201, allocations: 3.811 MB / 0.5717 GB, free: 8.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.63, allocations: 8 kB / 0.5717 GB, free: 8.562 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.768033447209746]