Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001321/0.001321, 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.001481/0.001481, allocations: 214.9 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.557/1.557, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2375/0.2375, allocations: 44.92 MB / 358.8 MB, free: 6.281 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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",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.003139/0.003139, allocations: 63.89 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.374, allocations: 65.47 MB / 0.557 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003116/0.3771, allocations: 1.631 MB / 0.5586 GB, free: 6.141 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.3782, allocations: 0.5729 MB / 0.5592 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.527e-05/0.3782, allocations: 4 kB / 0.5592 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006102/0.3788, allocations: 451.1 kB / 0.5596 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004688/0.3793, allocations: 291.3 kB / 0.5599 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.3797, allocations: 175.5 kB / 0.5601 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000251/0.38, allocations: 175.6 kB / 0.5602 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.728e-05/0.3801, allocations: 11.98 kB / 0.5602 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.3802, allocations: 103.8 kB / 0.5603 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.3805, allocations: 247.5 kB / 0.5606 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.3805, allocations: 4 kB / 0.5606 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.454e-05/0.3806, allocations: 35.92 kB / 0.5606 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.3807, allocations: 84.61 kB / 0.5607 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.272e-05/0.3808, allocations: 107 kB / 0.5608 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.3811, allocations: 248.5 kB / 0.561 GB, free: 3.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3811, allocations: 3.984 kB / 0.561 GB, free: 3.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3811, allocations: 4 kB / 0.561 GB, free: 3.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3811, allocations: 0 / 0.561 GB, free: 3.66 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.0007576/0.3819, allocations: 0.5776 MB / 0.5616 GB, free: 3.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3819, allocations: 8.031 kB / 0.5616 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.208e-05/0.3819, allocations: 34.75 kB / 0.5616 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.612e-05/0.382, allocations: 44.66 kB / 0.5617 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.3823, allocations: 250.7 kB / 0.5619 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.3823, allocations: 8.312 kB / 0.5619 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.3823, allocations: 8.359 kB / 0.5619 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.3825, allocations: 53.62 kB / 0.562 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3825, allocations: 4 kB / 0.562 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.3825, allocations: 0 / 0.562 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.3825, allocations: 0 / 0.562 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.914e-05/0.3826, allocations: 23.97 kB / 0.562 GB, free: 2.586 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005254/0.3831, allocations: 363.8 kB / 0.5624 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.197e-05/0.3832, allocations: 34.56 kB / 0.5624 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.994e-05/0.3833, allocations: 16.92 kB / 0.5624 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.3833, allocations: 0 / 0.5624 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.3833, allocations: 34.55 kB / 0.5625 GB, free: 2.082 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3833, allocations: 0 / 0.5625 GB, free: 2.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002865/0.3836, allocations: 113.3 kB / 0.5626 GB, free: 1.965 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.3836, allocations: 55.53 kB / 0.5626 GB, free: 1.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000888/0.3845, allocations: 0.8699 MB / 0.5635 GB, free: 1.016 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.3845, allocations: 25.7 kB / 0.5635 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.3848, allocations: 232.1 kB / 0.5637 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.3848, allocations: 11.88 kB / 0.5637 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.3848, allocations: 13.72 kB / 0.5637 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.385, allocations: 362.7 kB / 0.5641 GB, free: 368 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.879e-05/0.385, allocations: 11.98 kB / 0.5641 GB, free: 356 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.997e-05/0.3851, allocations: 15.98 kB / 0.5641 GB, free: 340 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.203e-05/0.3852, allocations: 28.84 kB / 0.5641 GB, free: 308 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.604e-06/0.3852, allocations: 0 / 0.5641 GB, free: 308 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001535/0.3853, allocations: 97.28 kB / 0.5642 GB, free: 204 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.3853, allocations: 8 kB / 0.5642 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3853, allocations: 0 / 0.5642 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3853, allocations: 0 / 0.5642 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.97e-05/0.3854, allocations: 12.08 kB / 0.5642 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3854, allocations: 0 / 0.5642 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.927e-05/0.3855, allocations: 4 kB / 0.5643 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.3855, allocations: 0 / 0.5643 GB, free: 180 kB / 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 (2): * Single equations (assignments): 2 * 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.000218/0.3857, allocations: 217.7 kB / 0.5645 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.326e-05/0.3858, allocations: 47.67 kB / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.386, allocations: 104.8 kB / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.386, allocations: 11.95 kB / 0.5646 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.386, allocations: 0 / 0.5646 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.386, allocations: 0 / 0.5646 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.3863, allocations: 260.6 kB / 0.5649 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3863, allocations: 0 / 0.5649 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/0.3863, allocations: 4 kB / 0.5649 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3863, allocations: 4 kB / 0.5649 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.3863, allocations: 0 / 0.5649 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.3863, allocations: 7.984 kB / 0.5649 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3863, allocations: 0 / 0.5649 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.3865, allocations: 195.2 kB / 0.5651 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.662e-05/0.3866, allocations: 35.7 kB / 0.5651 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.3866, allocations: 0 / 0.5651 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.667e-05/0.3867, allocations: 7.938 kB / 0.5651 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.726e-05/0.3867, allocations: 4 kB / 0.5651 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.3867, allocations: 0 / 0.5651 GB, free: 15.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00066/0.3874, allocations: 0.6628 MB / 0.5658 GB, free: 14.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3874, allocations: 4.031 kB / 0.5658 GB, free: 14.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.3876, allocations: 19.94 kB / 0.5658 GB, free: 14.53 MB / 414.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 (2): * Single equations (assignments): 2 * 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.001708/0.3893, allocations: 0.965 MB / 0.5667 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001406/0.3895, allocations: 27.92 kB / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3895, allocations: 3.938 kB / 0.5668 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.481e-05/0.3895, allocations: 11.98 kB / 0.5668 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.3899, allocations: 33.7 kB / 0.5668 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003702/0.3936, allocations: 3.183 MB / 0.5699 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/0.3941, allocations: 0.826 MB / 0.5707 GB, free: 9.473 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.447e-05/0.3942, allocations: 15.73 kB / 0.5707 GB, free: 9.457 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.3943, allocations: 111.4 kB / 0.5708 GB, free: 9.348 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3943, allocations: 0 / 0.5708 GB, free: 9.348 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03415/0.4285, allocations: 5.954 MB / 0.5766 GB, free: 3.457 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.06, allocations: 4 kB / 0.5767 GB, free: 3.453 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.248288028175011]