Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.00196/0.00196, allocations: 116.5 kB / 20.43 MB, free: 1.301 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.002699/0.002699, allocations: 206.6 kB / 23.74 MB, free: 4.539 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.509/1.509, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.3073/0.3073, allocations: 46.93 MB / 360.8 MB, free: 4.148 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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002442/0.002442, allocations: 75.88 kB / 0.4962 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3677, allocations: 66.09 MB / 0.5608 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.004076/0.3718, allocations: 1.635 MB / 0.5624 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.373, allocations: 0.5576 MB / 0.5629 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.081e-05/0.3731, allocations: 0 / 0.5629 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003349/0.3734, allocations: 75.77 kB / 0.563 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003563/0.3738, allocations: 103.6 kB / 0.5631 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.3741, allocations: 122.8 kB / 0.5632 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.3743, allocations: 83.75 kB / 0.5633 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.3744, allocations: 13.81 kB / 0.5633 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.99e-05/0.3745, allocations: 31.91 kB / 0.5633 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.3746, allocations: 55.83 kB / 0.5634 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.3747, allocations: 4 kB / 0.5634 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.3748, allocations: 43.97 kB / 0.5634 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.769e-05/0.3748, allocations: 27.86 kB / 0.5634 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/0.3749, allocations: 31.75 kB / 0.5635 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.3751, allocations: 115.4 kB / 0.5636 GB, free: 1.387 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3751, allocations: 0 / 0.5636 GB, free: 1.387 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3751, allocations: 0 / 0.5636 GB, free: 1.387 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.3751, allocations: 0 / 0.5636 GB, free: 1.387 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.0005523/0.3757, allocations: 325.7 kB / 0.5639 GB, free: 1.035 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3757, allocations: 11.97 kB / 0.5639 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.272e-05/0.3758, allocations: 34.75 kB / 0.5639 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.3758, allocations: 20.83 kB / 0.564 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.376, allocations: 151.6 kB / 0.5641 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.376, allocations: 384 / 0.5641 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.376, allocations: 4.375 kB / 0.5641 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.3762, allocations: 54.23 kB / 0.5642 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.3762, allocations: 3.938 kB / 0.5642 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.3762, allocations: 0 / 0.5642 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3762, allocations: 0 / 0.5642 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.3763, allocations: 31.97 kB / 0.5642 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004635/0.3768, allocations: 279.8 kB / 0.5645 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.3769, allocations: 46.56 kB / 0.5645 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.575e-05/0.377, allocations: 20.94 kB / 0.5645 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.377, allocations: 0 / 0.5645 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.377, allocations: 42.5 kB / 0.5646 GB, free: 252 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.377, allocations: 4 kB / 0.5646 GB, free: 248 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009921/0.378, allocations: 229.2 kB / 0.5648 GB, free: 12 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.652e-05/0.3781, allocations: 55.34 kB / 0.5648 GB, free: 15.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.3783, allocations: 199.3 kB / 0.565 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.3783, allocations: 29.7 kB / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.584e-05/0.3784, allocations: 112.1 kB / 0.5652 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.3785, allocations: 23.73 kB / 0.5652 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.3785, allocations: 25.72 kB / 0.5652 GB, free: 15.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3786, allocations: 326.8 kB / 0.5655 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.976e-05/0.3787, allocations: 27.97 kB / 0.5655 GB, free: 15.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.652e-05/0.3788, allocations: 27.98 kB / 0.5656 GB, free: 15.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.379, allocations: 80.88 kB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.379, allocations: 4 kB / 0.5657 GB, free: 15.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000247/0.3792, allocations: 109.5 kB / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.3793, allocations: 8 kB / 0.5658 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3793, allocations: 0 / 0.5658 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.3793, allocations: 0 / 0.5658 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.3794, allocations: 15.98 kB / 0.5658 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.3794, allocations: 8.312 kB / 0.5658 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.262e-05/0.3794, allocations: 3.984 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.3795, allocations: 7.938 kB / 0.5658 GB, free: 14.91 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.0001084/0.3796, allocations: 121.8 kB / 0.5659 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/0.3796, allocations: 15.91 kB / 0.5659 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003143/0.3799, allocations: 131 kB / 0.5661 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.3799, allocations: 4 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3799, allocations: 4 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3799, allocations: 4.359 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006003/0.3805, allocations: 394.3 kB / 0.5664 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3805, allocations: 0 / 0.5664 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.195e-05/0.3806, allocations: 15.98 kB / 0.5665 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.3806, allocations: 7.938 kB / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3806, allocations: 3.938 kB / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.3806, allocations: 4.031 kB / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3806, allocations: 3.984 kB / 0.5665 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.3809, allocations: 220.2 kB / 0.5667 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.08e-05/0.3809, allocations: 11.95 kB / 0.5667 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.381, allocations: 7.938 kB / 0.5667 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.466e-05/0.381, allocations: 8 kB / 0.5667 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.3811, allocations: 7.984 kB / 0.5667 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.3811, allocations: 4 kB / 0.5667 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001399/0.3812, allocations: 152.9 kB / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3812, allocations: 0 / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.3815, allocations: 23.94 kB / 0.5669 GB, free: 13.69 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.00227/0.3837, allocations: 1.088 MB / 0.568 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002424/0.384, allocations: 75.94 kB / 0.568 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.384, allocations: 3.938 kB / 0.568 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.928e-05/0.3841, allocations: 39.91 kB / 0.5681 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.3845, allocations: 22.73 kB / 0.5681 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.3866, allocations: 1.682 MB / 0.5697 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.387, allocations: 0.7041 MB / 0.5704 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.458e-05/0.3871, allocations: 16.66 kB / 0.5704 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.226e-05/0.3871, allocations: 35.42 kB / 0.5705 GB, free: 10.05 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3871, allocations: 0 / 0.5705 GB, free: 10.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03271/0.4198, allocations: 3.282 MB / 0.5737 GB, free: 6.797 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.56, allocations: 4.062 kB / 0.5737 GB, free: 6.793 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.851449305890128]