Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001406/0.001406, allocations: 110 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001745/0.001745, allocations: 213.9 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.54/1.54, allocations: 230.5 MB / 257.4 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2956/0.2956, allocations: 46.93 MB / 360.8 MB, free: 4.152 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0025/0.0025, allocations: 80.2 kB / 0.4962 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3716, allocations: 66.09 MB / 0.5608 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003876/0.3755, allocations: 1.625 MB / 0.5624 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.3766, allocations: 0.5615 MB / 0.5629 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.032e-05/0.3767, allocations: 0 / 0.5629 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.377, allocations: 83.7 kB / 0.563 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.3773, allocations: 99.66 kB / 0.5631 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.3776, allocations: 115 kB / 0.5632 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.3777, allocations: 91.75 kB / 0.5633 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.856e-05/0.3778, allocations: 13.81 kB / 0.5633 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.282e-05/0.3779, allocations: 35.89 kB / 0.5633 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.378, allocations: 67.75 kB / 0.5634 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.378, allocations: 0 / 0.5634 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001769/0.3782, allocations: 43.98 kB / 0.5634 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.623e-05/0.3783, allocations: 31.86 kB / 0.5635 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.091e-05/0.3783, allocations: 31.73 kB / 0.5635 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.3786, allocations: 107.5 kB / 0.5636 GB, free: 1.383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3786, allocations: 0 / 0.5636 GB, free: 1.383 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3786, allocations: 3.938 kB / 0.5636 GB, free: 1.379 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.3786, allocations: 0 / 0.5636 GB, free: 1.379 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.0005604/0.3791, allocations: 345.5 kB / 0.5639 GB, free: 1.008 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.3792, allocations: 12.03 kB / 0.5639 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.85e-05/0.3792, allocations: 30.75 kB / 0.564 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.3793, allocations: 16.84 kB / 0.564 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.3795, allocations: 147 kB / 0.5641 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.3795, allocations: 4.359 kB / 0.5641 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.3796, allocations: 4.375 kB / 0.5641 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.3797, allocations: 54.23 kB / 0.5642 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.3797, allocations: 7.922 kB / 0.5642 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.3798, allocations: 4 kB / 0.5642 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3798, allocations: 0 / 0.5642 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.3799, allocations: 31.95 kB / 0.5642 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005181/0.3804, allocations: 275.8 kB / 0.5645 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.3805, allocations: 46.56 kB / 0.5645 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.297e-05/0.3806, allocations: 20.94 kB / 0.5645 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.3806, allocations: 0 / 0.5645 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.3806, allocations: 38.56 kB / 0.5646 GB, free: 228 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.3806, allocations: 0 / 0.5646 GB, free: 228 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009322/0.3816, allocations: 241.1 kB / 0.5648 GB, free: 15.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.3816, allocations: 51.41 kB / 0.5649 GB, free: 15.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.3818, allocations: 214.3 kB / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.3819, allocations: 25.7 kB / 0.5651 GB, free: 15.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.652e-05/0.3819, allocations: 112.1 kB / 0.5652 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.382, allocations: 35.8 kB / 0.5652 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.382, allocations: 17.72 kB / 0.5653 GB, free: 15.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3822, allocations: 326.8 kB / 0.5656 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.616e-05/0.3823, allocations: 31.97 kB / 0.5656 GB, free: 15.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.132e-05/0.3823, allocations: 31.98 kB / 0.5656 GB, free: 15.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.3825, allocations: 76.81 kB / 0.5657 GB, free: 15.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3825, allocations: 3.938 kB / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002219/0.3827, allocations: 109.5 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3827, allocations: 4 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3827, allocations: 0 / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3828, allocations: 0 / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.3829, allocations: 19.98 kB / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.3829, allocations: 4 kB / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.366e-05/0.3829, allocations: 7.984 kB / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.3829, allocations: 11.94 kB / 0.5659 GB, free: 14.86 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 (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.0001104/0.383, allocations: 123.2 kB / 0.566 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.3831, allocations: 15.89 kB / 0.566 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003109/0.3834, allocations: 143.2 kB / 0.5661 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3834, allocations: 4 kB / 0.5661 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3834, allocations: 4 kB / 0.5661 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3834, allocations: 0 / 0.5661 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006023/0.384, allocations: 390.3 kB / 0.5665 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.384, allocations: 0 / 0.5665 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.05e-05/0.3841, allocations: 15.98 kB / 0.5665 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.3841, allocations: 4 kB / 0.5665 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.3841, allocations: 11.97 kB / 0.5665 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3841, allocations: 0 / 0.5665 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3841, allocations: 0 / 0.5665 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.3844, allocations: 216.7 kB / 0.5667 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.57e-05/0.3844, allocations: 11.91 kB / 0.5667 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.3844, allocations: 7.938 kB / 0.5668 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.22e-05/0.3845, allocations: 8 kB / 0.5668 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.3845, allocations: 7.969 kB / 0.5668 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.3845, allocations: 4 kB / 0.5668 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001452/0.3847, allocations: 168.2 kB / 0.5669 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3847, allocations: 0 / 0.5669 GB, free: 13.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.3849, allocations: 23.92 kB / 0.567 GB, free: 13.63 MB / 414.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.002197/0.3871, allocations: 1.088 MB / 0.568 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002501/0.3873, allocations: 79.88 kB / 0.5681 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3874, allocations: 0 / 0.5681 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.26e-05/0.3874, allocations: 35.98 kB / 0.5681 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.3878, allocations: 15.92 kB / 0.5681 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.3899, allocations: 1.728 MB / 0.5698 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.3903, allocations: 0.7119 MB / 0.5705 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.107e-05/0.3904, allocations: 20.64 kB / 0.5705 GB, free: 9.984 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.06e-05/0.3905, allocations: 35.42 kB / 0.5706 GB, free: 9.949 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3905, allocations: 3.938 kB / 0.5706 GB, free: 9.945 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02862/0.4191, allocations: 3.328 MB / 0.5738 GB, free: 6.648 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.58, allocations: 4.812 kB / 0.5738 GB, free: 6.645 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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.792239782167599]