Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.001571/0.001571, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001923/0.001923, allocations: 213.1 kB / 23.74 MB, free: 4.656 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2674/0.2674, allocations: 44.92 MB / 358.8 MB, free: 6.281 MB / 286.1 MB " [Timeout remaining time 179] 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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",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.002082/0.002082, allocations: 67.89 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.364, allocations: 65.48 MB / 0.557 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003747/0.3677, allocations: 1.607 MB / 0.5586 GB, free: 6.148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.3688, allocations: 0.5544 MB / 0.5592 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.82e-05/0.3689, allocations: 4 kB / 0.5592 GB, free: 5.586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.3691, allocations: 35.7 kB / 0.5592 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002761/0.3694, allocations: 79.69 kB / 0.5593 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.3697, allocations: 115.6 kB / 0.5594 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.3699, allocations: 67.78 kB / 0.5594 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.37, allocations: 17.8 kB / 0.5595 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.619e-05/0.3701, allocations: 19.94 kB / 0.5595 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.651e-05/0.3702, allocations: 19.86 kB / 0.5595 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.3702, allocations: 4 kB / 0.5595 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.917e-05/0.3703, allocations: 35.92 kB / 0.5595 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.12e-05/0.3703, allocations: 23.91 kB / 0.5596 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.119e-05/0.3704, allocations: 23.81 kB / 0.5596 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.3706, allocations: 79.61 kB / 0.5597 GB, free: 5.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3706, allocations: 4 kB / 0.5597 GB, free: 5.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3706, allocations: 0 / 0.5597 GB, free: 5.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.3706, allocations: 4 kB / 0.5597 GB, free: 5.066 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.0005279/0.3711, allocations: 321.8 kB / 0.56 GB, free: 4.723 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.3712, allocations: 12.02 kB / 0.56 GB, free: 4.711 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.855e-05/0.3712, allocations: 30.75 kB / 0.56 GB, free: 4.672 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.3712, allocations: 12.84 kB / 0.56 GB, free: 4.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.3714, allocations: 140.4 kB / 0.5602 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.3715, allocations: 4.125 kB / 0.5602 GB, free: 4.496 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.3715, allocations: 4 kB / 0.5602 GB, free: 4.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.3716, allocations: 57.67 kB / 0.5602 GB, free: 4.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3717, allocations: 4 kB / 0.5602 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.3717, allocations: 3.938 kB / 0.5602 GB, free: 4.422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3717, allocations: 0 / 0.5602 GB, free: 4.422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.256e-05/0.3718, allocations: 19.98 kB / 0.5602 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.3722, allocations: 259.9 kB / 0.5605 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.3724, allocations: 46.56 kB / 0.5605 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.381e-05/0.3724, allocations: 20.92 kB / 0.5606 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.3725, allocations: 0 / 0.5606 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.3725, allocations: 34.56 kB / 0.5606 GB, free: 3.984 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.3725, allocations: 0 / 0.5606 GB, free: 3.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005922/0.3731, allocations: 161.3 kB / 0.5607 GB, free: 3.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.3731, allocations: 51.41 kB / 0.5608 GB, free: 3.758 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.3733, allocations: 182.1 kB / 0.561 GB, free: 3.566 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.3733, allocations: 25.7 kB / 0.561 GB, free: 3.535 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.567e-05/0.3734, allocations: 100.1 kB / 0.5611 GB, free: 3.434 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.3734, allocations: 15.91 kB / 0.5611 GB, free: 3.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.3735, allocations: 21.7 kB / 0.5611 GB, free: 3.391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3736, allocations: 318.8 kB / 0.5614 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.319e-05/0.3737, allocations: 31.91 kB / 0.5615 GB, free: 3.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.202e-05/0.3737, allocations: 23.92 kB / 0.5615 GB, free: 3.016 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.3739, allocations: 48.83 kB / 0.5615 GB, free: 2.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3739, allocations: 0 / 0.5615 GB, free: 2.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001917/0.3741, allocations: 89.56 kB / 0.5616 GB, free: 2.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3741, allocations: 8 kB / 0.5616 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3741, allocations: 0 / 0.5616 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.3741, allocations: 4 kB / 0.5616 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.3742, allocations: 11.98 kB / 0.5616 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3742, allocations: 7.875 kB / 0.5616 GB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.2e-05/0.3743, allocations: 8 kB / 0.5616 GB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.3743, allocations: 256 / 0.5616 GB, free: 2.832 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 0.0001025/0.3744, allocations: 121.8 kB / 0.5618 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.3744, allocations: 7.953 kB / 0.5618 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.3746, allocations: 102.1 kB / 0.5619 GB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.3746, allocations: 3.984 kB / 0.5619 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3747, allocations: 3.938 kB / 0.5619 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3747, allocations: 0 / 0.5619 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004506/0.3751, allocations: 333.5 kB / 0.5622 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3751, allocations: 0 / 0.5622 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.413e-05/0.3752, allocations: 23.98 kB / 0.5622 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.3752, allocations: 3.938 kB / 0.5622 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.3752, allocations: 0 / 0.5622 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3752, allocations: 0 / 0.5622 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3752, allocations: 0 / 0.5622 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.3754, allocations: 183.4 kB / 0.5624 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.587e-05/0.3755, allocations: 11.91 kB / 0.5624 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.3755, allocations: 7.938 kB / 0.5624 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.3755, allocations: 8 kB / 0.5624 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.3756, allocations: 3.984 kB / 0.5624 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.3756, allocations: 4 kB / 0.5624 GB, free: 1.941 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.3757, allocations: 131.2 kB / 0.5626 GB, free: 1.812 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3757, allocations: 0 / 0.5626 GB, free: 1.812 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.3759, allocations: 19.92 kB / 0.5626 GB, free: 1.793 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.001977/0.3779, allocations: 1.02 MB / 0.5636 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000226/0.3781, allocations: 51.95 kB / 0.5636 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3782, allocations: 3.938 kB / 0.5636 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.356e-05/0.3782, allocations: 31.98 kB / 0.5637 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.3786, allocations: 15.98 kB / 0.5637 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.3805, allocations: 1.513 MB / 0.5651 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.3809, allocations: 0.7002 MB / 0.5658 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.351e-05/0.3809, allocations: 16.23 kB / 0.5658 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.387e-05/0.381, allocations: 27.44 kB / 0.5659 GB, free: 14.45 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.381, allocations: 0 / 0.5659 GB, free: 14.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02857/0.4096, allocations: 2.839 MB / 0.5686 GB, free: 11.67 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.49, allocations: 11.94 kB / 0.5687 GB, free: 11.66 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.55619542603381]