Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001682/0.001682, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001521/0.001521, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2336/0.2336, allocations: 46.96 MB / 360.9 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 71.89 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3705, allocations: 66.03 MB / 0.5606 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003396/0.3739, allocations: 1.597 MB / 0.5622 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.375, allocations: 0.5115 MB / 0.5627 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.55e-05/0.375, allocations: 0 / 0.5627 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002208/0.3752, allocations: 27.86 kB / 0.5627 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003178/0.3756, allocations: 79.62 kB / 0.5628 GB, free: 2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.3758, allocations: 87.52 kB / 0.5629 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.376, allocations: 71.75 kB / 0.5629 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3761, allocations: 9.828 kB / 0.5629 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.228e-05/0.3762, allocations: 31.8 kB / 0.563 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.921e-05/0.3762, allocations: 19.86 kB / 0.563 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.3762, allocations: 4 kB / 0.563 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.156e-05/0.3763, allocations: 35.97 kB / 0.563 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.806e-05/0.3764, allocations: 11.94 kB / 0.563 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.3764, allocations: 15.88 kB / 0.563 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.3766, allocations: 83.66 kB / 0.5631 GB, free: 1.641 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3766, allocations: 0 / 0.5631 GB, free: 1.641 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3766, allocations: 3.938 kB / 0.5631 GB, free: 1.637 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3766, allocations: 4 kB / 0.5631 GB, free: 1.633 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.0004979/0.3771, allocations: 313.8 kB / 0.5634 GB, free: 1.297 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3771, allocations: 8.031 kB / 0.5634 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.796e-05/0.3772, allocations: 34.75 kB / 0.5635 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.3772, allocations: 4.891 kB / 0.5635 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.3774, allocations: 130.4 kB / 0.5636 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.663e-06/0.3774, allocations: 384 / 0.5636 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.3774, allocations: 12.38 kB / 0.5636 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.3776, allocations: 49.61 kB / 0.5637 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.3776, allocations: 0 / 0.5637 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.3776, allocations: 0 / 0.5637 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3776, allocations: 11.92 kB / 0.5637 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.711e-05/0.3777, allocations: 19.98 kB / 0.5637 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.378, allocations: 244 kB / 0.5639 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.3782, allocations: 38.56 kB / 0.564 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.624e-05/0.3783, allocations: 24.88 kB / 0.564 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.3783, allocations: 4 kB / 0.564 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.3784, allocations: 30.56 kB / 0.564 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3784, allocations: 0 / 0.564 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005663/0.3789, allocations: 137.4 kB / 0.5641 GB, free: 464 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.379, allocations: 51.41 kB / 0.5642 GB, free: 400 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.3791, allocations: 154.1 kB / 0.5643 GB, free: 232 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.3792, allocations: 25.7 kB / 0.5644 GB, free: 200 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.922e-05/0.3792, allocations: 104.1 kB / 0.5645 GB, free: 92 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.3793, allocations: 23.78 kB / 0.5645 GB, free: 68 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.3793, allocations: 17.72 kB / 0.5645 GB, free: 44 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.3795, allocations: 322.8 kB / 0.5648 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.859e-05/0.3796, allocations: 19.98 kB / 0.5648 GB, free: 15.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.917e-05/0.3796, allocations: 15.98 kB / 0.5648 GB, free: 15.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.3798, allocations: 44.83 kB / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3798, allocations: 192 / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001903/0.3799, allocations: 93.56 kB / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.38, allocations: 4 kB / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.38, allocations: 3.938 kB / 0.565 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.38, allocations: 4 kB / 0.565 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.618e-05/0.38, allocations: 11.98 kB / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.38, allocations: 0 / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.159e-05/0.3801, allocations: 7.984 kB / 0.565 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.3801, allocations: 3.938 kB / 0.565 GB, free: 15.5 MB / 414.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.00011/0.3802, allocations: 121.8 kB / 0.5651 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.3802, allocations: 7.953 kB / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.3805, allocations: 90 kB / 0.5652 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.3805, allocations: 4 kB / 0.5652 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3805, allocations: 0 / 0.5652 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.3805, allocations: 0 / 0.5652 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004411/0.3809, allocations: 309.6 kB / 0.5655 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3809, allocations: 0 / 0.5655 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.734e-05/0.381, allocations: 15.94 kB / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.381, allocations: 7.984 kB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.381, allocations: 0 / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.381, allocations: 3.938 kB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.381, allocations: 0 / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.3813, allocations: 171.7 kB / 0.5657 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.3813, allocations: 11.95 kB / 0.5657 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.3813, allocations: 7.984 kB / 0.5657 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.103e-05/0.3814, allocations: 11.94 kB / 0.5657 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-05/0.3814, allocations: 0 / 0.5657 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-06/0.3814, allocations: 7.984 kB / 0.5658 GB, free: 14.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.3815, allocations: 117.7 kB / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3815, allocations: 0 / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002394/0.3818, allocations: 19.86 kB / 0.5659 GB, free: 14.52 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 (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.002087/0.3838, allocations: 1.041 MB / 0.5669 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.384, allocations: 51.97 kB / 0.5669 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.384, allocations: 0 / 0.5669 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.775e-05/0.3841, allocations: 31.91 kB / 0.567 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.3845, allocations: 25.39 kB / 0.567 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.3863, allocations: 1.437 MB / 0.5684 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.509e-05/0.3864, allocations: 83.06 kB / 0.5685 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.7e-05/0.3864, allocations: 11.84 kB / 0.5685 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.013e-05/0.3865, allocations: 31.36 kB / 0.5685 GB, free: 11.88 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3865, allocations: 0 / 0.5685 GB, free: 11.88 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03075/0.4172, allocations: 3.099 MB / 0.5716 GB, free: 8.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.53, allocations: 2.969 kB / 0.5716 GB, free: 8.82 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.561381296720356]