Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.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.001377/0.001377, 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.002147/0.002147, allocations: 212.1 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.544/1.544, allocations: 230.5 MB / 257.4 MB, free: 8.016 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.2273/0.2273, allocations: 46.93 MB / 360.8 MB, free: 4.184 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.CombiTable2Dv.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002359/0.002359, allocations: 79.88 kB / 0.4962 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3334, allocations: 66.08 MB / 0.5607 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test32): time 0.00344/0.3369, allocations: 1.678 MB / 0.5624 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002291/0.3392, allocations: 1.294 MB / 0.5637 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.94e-05/0.3392, allocations: 3.938 kB / 0.5637 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.3394, allocations: 39.77 kB / 0.5637 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.3398, allocations: 87.61 kB / 0.5638 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004395/0.3402, allocations: 170 kB / 0.5639 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.3404, allocations: 79.77 kB / 0.564 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3405, allocations: 25.8 kB / 0.564 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.834e-05/0.3405, allocations: 27.86 kB / 0.5641 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.3407, allocations: 39.83 kB / 0.5641 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.3407, allocations: 4 kB / 0.5641 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.3409, allocations: 99.88 kB / 0.5642 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.409e-05/0.341, allocations: 23.92 kB / 0.5642 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.481e-05/0.341, allocations: 31.8 kB / 0.5643 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.3413, allocations: 159.4 kB / 0.5644 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3413, allocations: 0 / 0.5644 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.3413, allocations: 0 / 0.5644 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.3413, allocations: 0 / 0.5644 GB, free: 0.5469 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.0007032/0.342, allocations: 353.5 kB / 0.5647 GB, free: 172 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3421, allocations: 8.031 kB / 0.5648 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.04e-05/0.3421, allocations: 38.75 kB / 0.5648 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.3422, allocations: 8.891 kB / 0.5648 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.3424, allocations: 145.1 kB / 0.5649 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3424, allocations: 4.375 kB / 0.5649 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.3424, allocations: 4.375 kB / 0.5649 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.3428, allocations: 83.88 kB / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.3428, allocations: 3.938 kB / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.3428, allocations: 0 / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.3428, allocations: 0 / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.3429, allocations: 39.97 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005175/0.3434, allocations: 283.8 kB / 0.5653 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.3436, allocations: 54.55 kB / 0.5654 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.478e-05/0.3437, allocations: 24.94 kB / 0.5654 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.3437, allocations: 0 / 0.5654 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.3437, allocations: 30.56 kB / 0.5654 GB, free: 15.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.3437, allocations: 0 / 0.5654 GB, free: 15.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008081/0.3445, allocations: 241.3 kB / 0.5657 GB, free: 15.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.3446, allocations: 77.11 kB / 0.5657 GB, free: 15.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.3448, allocations: 149.6 kB / 0.5659 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.3448, allocations: 29.7 kB / 0.5659 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.014e-05/0.3448, allocations: 104.1 kB / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.3449, allocations: 27.78 kB / 0.566 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.3449, allocations: 17.72 kB / 0.5661 GB, free: 14.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3451, allocations: 326.8 kB / 0.5664 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.3452, allocations: 35.91 kB / 0.5664 GB, free: 14.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.3453, allocations: 65.62 kB / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.3455, allocations: 92.94 kB / 0.5666 GB, free: 14.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.3455, allocations: 0 / 0.5666 GB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002996/0.3458, allocations: 125.6 kB / 0.5667 GB, free: 14.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3459, allocations: 4 kB / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3459, allocations: 4.031 kB / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3459, allocations: 0 / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.346, allocations: 23.98 kB / 0.5667 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.346, allocations: 3.938 kB / 0.5667 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.921e-05/0.3461, allocations: 11.98 kB / 0.5667 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.3461, allocations: 0 / 0.5667 GB, free: 13.96 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 (7): * Single equations (assignments): 7 * 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.000108/0.3462, allocations: 123.1 kB / 0.5668 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.3462, allocations: 12.19 kB / 0.5669 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003665/0.3466, allocations: 142.3 kB / 0.567 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.3466, allocations: 3.984 kB / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3466, allocations: 4 kB / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3466, allocations: 0 / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007408/0.3474, allocations: 393.4 kB / 0.5674 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3474, allocations: 4 kB / 0.5674 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.478e-05/0.3474, allocations: 19.98 kB / 0.5674 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3474, allocations: 3.984 kB / 0.5674 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.3475, allocations: 0 / 0.5674 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3475, allocations: 3.938 kB / 0.5674 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3475, allocations: 0 / 0.5674 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/0.3478, allocations: 231.4 kB / 0.5676 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/0.3478, allocations: 7.953 kB / 0.5676 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.3479, allocations: 7.984 kB / 0.5676 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.733e-05/0.348, allocations: 7.938 kB / 0.5676 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.348, allocations: 11.98 kB / 0.5677 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.348, allocations: 0 / 0.5677 GB, free: 12.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.3481, allocations: 121.8 kB / 0.5678 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3481, allocations: 4 kB / 0.5678 GB, free: 12.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002892/0.3484, allocations: 47.8 kB / 0.5678 GB, free: 12.75 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 (7): * Single equations (assignments): 7 * 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.002404/0.3508, allocations: 1.134 MB / 0.5689 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003314/0.3511, allocations: 91.92 kB / 0.569 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3511, allocations: 0 / 0.569 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.3513, allocations: 51.89 kB / 0.5691 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.3516, allocations: 23.86 kB / 0.5691 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.3541, allocations: 1.655 MB / 0.5707 GB, free: 9.852 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006477/0.3548, allocations: 0.7 MB / 0.5714 GB, free: 9.125 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.249e-05/0.3548, allocations: 28.41 kB / 0.5714 GB, free: 9.098 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.957e-05/0.3549, allocations: 35.45 kB / 0.5714 GB, free: 9.062 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3549, allocations: 0 / 0.5714 GB, free: 9.062 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03428/0.3892, allocations: 3.769 MB / 0.5751 GB, free: 5.293 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.55, allocations: 4.062 kB / 0.5751 GB, free: 5.289 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test32_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.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.633942626183853]