Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001648/0.001648, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001576/0.001576, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.504/1.504, allocations: 230.6 MB / 258.3 MB, free: 8.062 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.2533/0.2533, allocations: 46.94 MB / 361.7 MB, free: 4.305 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.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 71.88 kB / 0.497 GB, free: 7.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3491, allocations: 66.03 MB / 0.5614 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003866/0.353, allocations: 1.683 MB / 0.5631 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.3542, allocations: 0.5777 MB / 0.5637 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.897e-05/0.3542, allocations: 0 / 0.5637 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000706/0.3549, allocations: 451.1 kB / 0.5641 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006724/0.3556, allocations: 291.3 kB / 0.5644 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.356, allocations: 138.9 kB / 0.5645 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003257/0.3563, allocations: 175.6 kB / 0.5647 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3564, allocations: 17.81 kB / 0.5647 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.3567, allocations: 115.7 kB / 0.5648 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000331/0.357, allocations: 255.5 kB / 0.565 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.357, allocations: 7.938 kB / 0.565 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.3572, allocations: 47.98 kB / 0.5651 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.3573, allocations: 87.67 kB / 0.5652 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.3574, allocations: 106.9 kB / 0.5653 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003987/0.3578, allocations: 282.4 kB / 0.5655 GB, free: 304 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.3578, allocations: 0 / 0.5655 GB, free: 304 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3578, allocations: 0 / 0.5655 GB, free: 304 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.3578, allocations: 4 kB / 0.5655 GB, free: 300 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008964/0.3587, allocations: 0.597 MB / 0.5661 GB, free: 15.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.3588, allocations: 8.031 kB / 0.5661 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.68e-05/0.3588, allocations: 192 / 0.5661 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.059e-05/0.3588, allocations: 42.75 kB / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.091e-05/0.3589, allocations: 40.66 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.3592, allocations: 250.7 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.3592, allocations: 4.375 kB / 0.5665 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/0.3592, allocations: 16.12 kB / 0.5665 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.3594, allocations: 53.67 kB / 0.5665 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.3594, allocations: 0 / 0.5665 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.3594, allocations: 0 / 0.5665 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3594, allocations: 4 kB / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.3595, allocations: 27.97 kB / 0.5666 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006578/0.3602, allocations: 371.7 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.3603, allocations: 46.66 kB / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.509e-05/0.3604, allocations: 20.88 kB / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.3604, allocations: 4 kB / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.3605, allocations: 30.56 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3605, allocations: 0 / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001089/0.3615, allocations: 320.4 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.3616, allocations: 51.41 kB / 0.5674 GB, free: 14.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.3626, allocations: 0.8738 MB / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.3626, allocations: 25.7 kB / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.3629, allocations: 232 kB / 0.5685 GB, free: 13.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/0.3629, allocations: 27.75 kB / 0.5685 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/0.363, allocations: 25.7 kB / 0.5685 GB, free: 13.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002662/0.3632, allocations: 358.8 kB / 0.5689 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.944e-05/0.3633, allocations: 27.97 kB / 0.5689 GB, free: 12.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.939e-05/0.3634, allocations: 31.98 kB / 0.5689 GB, free: 12.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.3636, allocations: 68.77 kB / 0.569 GB, free: 12.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3636, allocations: 4 kB / 0.569 GB, free: 12.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000302/0.3639, allocations: 129.4 kB / 0.5691 GB, free: 12.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3639, allocations: 4 kB / 0.5691 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.3639, allocations: 0 / 0.5691 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.3639, allocations: 8.359 kB / 0.5691 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.364, allocations: 19.98 kB / 0.5691 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.3641, allocations: 0 / 0.5691 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.543e-05/0.3641, allocations: 7.984 kB / 0.5691 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.3641, allocations: 8 kB / 0.5692 GB, free: 12.4 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.0002427/0.3644, allocations: 213.7 kB / 0.5694 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.52e-05/0.3644, allocations: 47.67 kB / 0.5694 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003724/0.3648, allocations: 157.5 kB / 0.5695 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.3648, allocations: 7.938 kB / 0.5696 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3648, allocations: 0 / 0.5696 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3648, allocations: 4 kB / 0.5696 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000817/0.3657, allocations: 490.2 kB / 0.57 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3657, allocations: 0 / 0.57 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.728e-05/0.3657, allocations: 19.94 kB / 0.57 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.3657, allocations: 3.984 kB / 0.5701 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.3657, allocations: 0 / 0.5701 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.3658, allocations: 4 kB / 0.5701 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3658, allocations: 32 / 0.5701 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.3661, allocations: 248.4 kB / 0.5703 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.489e-05/0.3662, allocations: 31.72 kB / 0.5703 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.3662, allocations: 8 kB / 0.5703 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.3663, allocations: 7.984 kB / 0.5703 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.3663, allocations: 4 kB / 0.5703 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.3663, allocations: 7.984 kB / 0.5703 GB, free: 11.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008039/0.3671, allocations: 0.6627 MB / 0.571 GB, free: 10.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3671, allocations: 0 / 0.571 GB, free: 10.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003153/0.3675, allocations: 35.92 kB / 0.571 GB, free: 10.38 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.002592/0.3701, allocations: 1.132 MB / 0.5721 GB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002443/0.3703, allocations: 67.91 kB / 0.5722 GB, free: 9.336 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3703, allocations: 0 / 0.5722 GB, free: 9.336 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.478e-05/0.3704, allocations: 35.91 kB / 0.5722 GB, free: 9.301 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/0.3709, allocations: 34.23 kB / 0.5723 GB, free: 9.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00445/0.3753, allocations: 3.333 MB / 0.5755 GB, free: 5.836 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007252/0.376, allocations: 0.8304 MB / 0.5763 GB, free: 4.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.878e-05/0.3761, allocations: 12.73 kB / 0.5763 GB, free: 4.969 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.3763, allocations: 107.4 kB / 0.5764 GB, free: 4.863 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3763, allocations: 8 kB / 0.5765 GB, free: 4.855 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03226/0.4085, allocations: 6.593 MB / 0.5829 GB, free: 14.35 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.2, allocations: 8.062 kB / 0.5829 GB, free: 14.34 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.370149807014968]