Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.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.001371/0.001371, allocations: 112.5 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.001597/0.001597, allocations: 212.3 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.519/1.519, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.2299/0.2299, allocations: 46.93 MB / 360.8 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 75.88 kB / 0.4962 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3568, allocations: 66.09 MB / 0.5608 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.00339/0.3602, allocations: 1.679 MB / 0.5624 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.3612, allocations: 0.577 MB / 0.563 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.464e-05/0.3613, allocations: 4 kB / 0.563 GB, free: 2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002518/0.3616, allocations: 51.73 kB / 0.563 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002973/0.3619, allocations: 91.61 kB / 0.5631 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.3622, allocations: 122.7 kB / 0.5632 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.3624, allocations: 91.69 kB / 0.5633 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3625, allocations: 18.06 kB / 0.5633 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.743e-05/0.3626, allocations: 43.83 kB / 0.5634 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.3627, allocations: 39.83 kB / 0.5634 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.3627, allocations: 4 kB / 0.5634 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.3628, allocations: 51.98 kB / 0.5635 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.336e-05/0.3629, allocations: 23.92 kB / 0.5635 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.124e-05/0.363, allocations: 35.72 kB / 0.5635 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.3632, allocations: 123.4 kB / 0.5636 GB, free: 1.316 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3632, allocations: 0 / 0.5636 GB, free: 1.316 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3632, allocations: 0 / 0.5636 GB, free: 1.316 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.3633, allocations: 4 kB / 0.5636 GB, free: 1.312 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006227/0.3639, allocations: 341.6 kB / 0.564 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.3639, allocations: 8.031 kB / 0.564 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.192e-05/0.364, allocations: 42.73 kB / 0.564 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.958e-05/0.364, allocations: 8.891 kB / 0.564 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.3642, allocations: 142.3 kB / 0.5642 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.3642, allocations: 384 / 0.5642 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.3643, allocations: 12.27 kB / 0.5642 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.3644, allocations: 78.2 kB / 0.5642 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.3645, allocations: 3.938 kB / 0.5642 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.3645, allocations: 0 / 0.5642 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3645, allocations: 0 / 0.5642 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.3646, allocations: 39.91 kB / 0.5643 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.365, allocations: 275.9 kB / 0.5646 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.3653, allocations: 62.58 kB / 0.5646 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.551e-05/0.3654, allocations: 24.97 kB / 0.5646 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.3654, allocations: 0 / 0.5646 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.3654, allocations: 30.56 kB / 0.5647 GB, free: 132 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3654, allocations: 0 / 0.5647 GB, free: 132 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001514/0.367, allocations: 397 kB / 0.565 GB, free: 15.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.367, allocations: 55.41 kB / 0.5651 GB, free: 15.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.3672, allocations: 191.4 kB / 0.5653 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.3673, allocations: 29.7 kB / 0.5653 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.882e-05/0.3673, allocations: 100.1 kB / 0.5654 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/0.3674, allocations: 39.62 kB / 0.5654 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.344e-05/0.3674, allocations: 29.72 kB / 0.5655 GB, free: 15.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.3677, allocations: 322.8 kB / 0.5658 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.3678, allocations: 39.97 kB / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.3679, allocations: 47.91 kB / 0.5659 GB, free: 14.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/0.3682, allocations: 101.4 kB / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3682, allocations: 0 / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003151/0.3685, allocations: 145.5 kB / 0.5661 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3685, allocations: 4 kB / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3685, allocations: 0 / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.3685, allocations: 4 kB / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.3687, allocations: 35.91 kB / 0.5661 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.3687, allocations: 7.938 kB / 0.5661 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.395e-05/0.3687, allocations: 7.984 kB / 0.5662 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.3687, allocations: 4 kB / 0.5662 GB, free: 14.54 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 (11): * Single equations (assignments): 11 * 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.0001199/0.3689, allocations: 121.8 kB / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.3689, allocations: 11.91 kB / 0.5663 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004181/0.3693, allocations: 170.6 kB / 0.5664 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3693, allocations: 7.984 kB / 0.5665 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.3693, allocations: 11.81 kB / 0.5665 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.3693, allocations: 0 / 0.5665 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006687/0.37, allocations: 431.2 kB / 0.5669 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.37, allocations: 8 kB / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.3701, allocations: 35.91 kB / 0.5669 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3701, allocations: 0 / 0.5669 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.3701, allocations: 4 kB / 0.5669 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3701, allocations: 0 / 0.5669 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3701, allocations: 4 kB / 0.5669 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003718/0.3705, allocations: 257 kB / 0.5672 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.3705, allocations: 11.89 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.3706, allocations: 4 kB / 0.5672 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.3707, allocations: 11.98 kB / 0.5672 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.3707, allocations: 7.984 kB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.3707, allocations: 8 kB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.3709, allocations: 139.2 kB / 0.5673 GB, free: 13.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3709, allocations: 0 / 0.5673 GB, free: 13.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.3711, allocations: 27.94 kB / 0.5674 GB, free: 13.19 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00237/0.3735, allocations: 1.131 MB / 0.5685 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003239/0.3738, allocations: 107.9 kB / 0.5686 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3738, allocations: 0 / 0.5686 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.374, allocations: 51.91 kB / 0.5686 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.3744, allocations: 28.12 kB / 0.5687 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.3768, allocations: 1.8 MB / 0.5704 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.3772, allocations: 0.7119 MB / 0.5711 GB, free: 9.387 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.619e-05/0.3773, allocations: 20.36 kB / 0.5711 GB, free: 9.367 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.711e-05/0.3773, allocations: 43.58 kB / 0.5712 GB, free: 9.324 MB / 414.1 MB Notification: Performance of SimCode: time 6.02e-07/0.3773, allocations: 0 / 0.5712 GB, free: 9.324 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03376/0.4111, allocations: 3.506 MB / 0.5746 GB, free: 5.844 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.41, allocations: 0 / 0.5746 GB, free: 5.844 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test24_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.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.541508582886308]