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.001317/0.001317, 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.001426/0.001426, allocations: 218.7 kB / 24.52 MB, free: 3.91 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.487/1.487, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2253/0.2253, allocations: 44.93 MB / 359.6 MB, free: 6.07 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.001987/0.001987, allocations: 71.89 kB / 0.4938 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3733, allocations: 65.47 MB / 0.5578 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003362/0.3767, allocations: 1.605 MB / 0.5593 GB, free: 5.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.3777, allocations: 0.5193 MB / 0.5598 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.176e-05/0.3778, allocations: 0 / 0.5598 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002967/0.3781, allocations: 83.7 kB / 0.5599 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002859/0.3784, allocations: 103.6 kB / 0.56 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.3786, allocations: 95.12 kB / 0.5601 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.3788, allocations: 87.75 kB / 0.5602 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.894e-05/0.3789, allocations: 9.828 kB / 0.5602 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.583e-05/0.379, allocations: 43.77 kB / 0.5602 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.3791, allocations: 63.81 kB / 0.5603 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.3791, allocations: 4 kB / 0.5603 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.519e-05/0.3792, allocations: 47.98 kB / 0.5603 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.44e-05/0.3793, allocations: 19.92 kB / 0.5604 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.3793, allocations: 27.78 kB / 0.5604 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.3795, allocations: 103.5 kB / 0.5605 GB, free: 4.742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3795, allocations: 0 / 0.5605 GB, free: 4.742 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3795, allocations: 3.938 kB / 0.5605 GB, free: 4.738 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.3795, allocations: 0 / 0.5605 GB, free: 4.738 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.0004652/0.38, allocations: 341.5 kB / 0.5608 GB, free: 4.375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.38, allocations: 16.03 kB / 0.5608 GB, free: 4.359 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.304e-05/0.38, allocations: 4.188 kB / 0.5608 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.027e-05/0.38, allocations: 34.75 kB / 0.5609 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.3801, allocations: 16.84 kB / 0.5609 GB, free: 4.297 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.3803, allocations: 143 kB / 0.561 GB, free: 4.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.991e-06/0.3803, allocations: 384 / 0.561 GB, free: 4.129 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.3803, allocations: 12.12 kB / 0.561 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.3805, allocations: 49.67 kB / 0.5611 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.3805, allocations: 3.984 kB / 0.5611 GB, free: 4.059 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.3805, allocations: 3.938 kB / 0.5611 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.3805, allocations: 4 kB / 0.5611 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.376e-05/0.3806, allocations: 31.97 kB / 0.5611 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.3809, allocations: 255.9 kB / 0.5614 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.381, allocations: 42.5 kB / 0.5614 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.527e-05/0.3811, allocations: 20.94 kB / 0.5614 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.3811, allocations: 0 / 0.5614 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.3811, allocations: 30.56 kB / 0.5615 GB, free: 3.613 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.3811, allocations: 0 / 0.5615 GB, free: 3.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008784/0.382, allocations: 233.1 kB / 0.5617 GB, free: 3.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.3821, allocations: 55.34 kB / 0.5617 GB, free: 3.312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.3823, allocations: 210.3 kB / 0.5619 GB, free: 3.098 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.3823, allocations: 29.7 kB / 0.562 GB, free: 3.062 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.3824, allocations: 108 kB / 0.5621 GB, free: 2.953 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.3824, allocations: 31.8 kB / 0.5621 GB, free: 2.922 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/0.3825, allocations: 29.72 kB / 0.5621 GB, free: 2.887 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.3826, allocations: 322.8 kB / 0.5624 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.051e-05/0.3827, allocations: 27.97 kB / 0.5625 GB, free: 2.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.979e-05/0.3828, allocations: 24.06 kB / 0.5625 GB, free: 2.512 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.3829, allocations: 68.91 kB / 0.5625 GB, free: 2.441 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3829, allocations: 0 / 0.5625 GB, free: 2.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002104/0.3831, allocations: 97.62 kB / 0.5626 GB, free: 2.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3832, allocations: 8 kB / 0.5626 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3832, allocations: 0 / 0.5626 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3832, allocations: 0 / 0.5626 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.858e-05/0.3833, allocations: 19.98 kB / 0.5627 GB, free: 2.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3833, allocations: 3.938 kB / 0.5627 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.948e-05/0.3833, allocations: 7.984 kB / 0.5627 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.3833, allocations: 0 / 0.5627 GB, free: 2.301 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.0001439/0.3835, allocations: 133.8 kB / 0.5628 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/0.3835, allocations: 11.91 kB / 0.5628 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/0.3838, allocations: 123 kB / 0.5629 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3838, allocations: 4 kB / 0.5629 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.3838, allocations: 3.938 kB / 0.5629 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3838, allocations: 0 / 0.5629 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005162/0.3843, allocations: 362.4 kB / 0.5633 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3844, allocations: 3.938 kB / 0.5633 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.395e-05/0.3844, allocations: 27.92 kB / 0.5633 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3844, allocations: 4.031 kB / 0.5633 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.3844, allocations: 0 / 0.5633 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3844, allocations: 0 / 0.5633 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3844, allocations: 4 kB / 0.5633 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.3847, allocations: 200.7 kB / 0.5635 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.179e-05/0.3847, allocations: 15.84 kB / 0.5635 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.3847, allocations: 3.938 kB / 0.5635 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.933e-05/0.3848, allocations: 11.98 kB / 0.5635 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.3849, allocations: 15.91 kB / 0.5636 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.3849, allocations: 4 kB / 0.5636 GB, free: 1.293 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001427/0.385, allocations: 168.2 kB / 0.5637 GB, free: 1.129 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.385, allocations: 0 / 0.5637 GB, free: 1.129 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.3853, allocations: 19.94 kB / 0.5637 GB, free: 1.109 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.002275/0.3875, allocations: 1.121 MB / 0.5648 GB, free: 180 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002528/0.3878, allocations: 63.89 kB / 0.5649 GB, free: 116 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3878, allocations: 0 / 0.5649 GB, free: 116 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.812e-05/0.3879, allocations: 35.92 kB / 0.5649 GB, free: 80 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.3883, allocations: 15.98 kB / 0.5649 GB, free: 64 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.3904, allocations: 1.685 MB / 0.5666 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.3906, allocations: 92.73 kB / 0.5667 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.192e-05/0.3906, allocations: 16.97 kB / 0.5667 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.534e-05/0.3907, allocations: 35.42 kB / 0.5667 GB, free: 14.13 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3907, allocations: 0 / 0.5667 GB, free: 14.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.4127, allocations: 3.36 MB / 0.57 GB, free: 10.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.03, allocations: 13.7 kB / 0.57 GB, free: 10.82 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.159077206044458]