Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.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.001741/0.001741, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001496/0.001496, allocations: 208.2 kB / 23.73 MB, free: 4.387 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.503/1.503, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2311/0.2311, allocations: 46.96 MB / 360.9 MB, free: 4.113 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.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00238/0.00238, allocations: 67.89 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3348, allocations: 66.04 MB / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test32): time 0.003377/0.3382, allocations: 1.652 MB / 0.5622 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.3404, allocations: 1.24 MB / 0.5634 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.225e-05/0.3404, allocations: 4 kB / 0.5634 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.3407, allocations: 19.8 kB / 0.5635 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003487/0.341, allocations: 91.61 kB / 0.5635 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/0.3413, allocations: 135.2 kB / 0.5637 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.3415, allocations: 75.77 kB / 0.5637 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.693e-05/0.3416, allocations: 9.828 kB / 0.5638 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.676e-05/0.3416, allocations: 31.91 kB / 0.5638 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.3418, allocations: 39.78 kB / 0.5638 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.3418, allocations: 4 kB / 0.5638 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002273/0.342, allocations: 95.88 kB / 0.5639 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.489e-05/0.3421, allocations: 15.97 kB / 0.5639 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.798e-05/0.3421, allocations: 31.8 kB / 0.564 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.3424, allocations: 151.4 kB / 0.5641 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3424, allocations: 0 / 0.5641 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3424, allocations: 0 / 0.5641 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.3424, allocations: 0 / 0.5641 GB, free: 0.6094 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.0005373/0.3429, allocations: 345.6 kB / 0.5644 GB, free: 248 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.343, allocations: 8.031 kB / 0.5644 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.858e-05/0.343, allocations: 38.73 kB / 0.5645 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.343, allocations: 8.891 kB / 0.5645 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.3433, allocations: 134.4 kB / 0.5646 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.3433, allocations: 4.375 kB / 0.5646 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.3433, allocations: 4.328 kB / 0.5646 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.3436, allocations: 109 kB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.3436, allocations: 0 / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.3436, allocations: 0 / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3436, allocations: 4 kB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.3437, allocations: 35.97 kB / 0.5648 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004151/0.3441, allocations: 263.8 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.3443, allocations: 42.56 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.3444, allocations: 20.94 kB / 0.5651 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.3445, allocations: 3.938 kB / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.3445, allocations: 38.5 kB / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.103e-06/0.3445, allocations: 4 kB / 0.5651 GB, free: 15.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008266/0.3453, allocations: 217.5 kB / 0.5653 GB, free: 15.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.3454, allocations: 77.11 kB / 0.5654 GB, free: 15.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.3456, allocations: 152.5 kB / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.3456, allocations: 29.7 kB / 0.5656 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.316e-05/0.3456, allocations: 96.12 kB / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.3457, allocations: 27.75 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.3457, allocations: 21.7 kB / 0.5657 GB, free: 14.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002256/0.3459, allocations: 322.8 kB / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.3461, allocations: 31.98 kB / 0.5661 GB, free: 14.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.3462, allocations: 75.39 kB / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.3464, allocations: 85.05 kB / 0.5662 GB, free: 14.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3464, allocations: 0 / 0.5662 GB, free: 14.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002702/0.3467, allocations: 105.6 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3467, allocations: 8 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3467, allocations: 0 / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3467, allocations: 3.984 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.3468, allocations: 27.98 kB / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.3468, allocations: 7.922 kB / 0.5664 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.228e-05/0.3469, allocations: 11.94 kB / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.3469, allocations: 4 kB / 0.5664 GB, free: 14.06 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 9.372e-05/0.347, allocations: 117.8 kB / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.3471, allocations: 7.953 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003387/0.3474, allocations: 126.3 kB / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3474, allocations: 0 / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3474, allocations: 0 / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3474, allocations: 3.938 kB / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005509/0.348, allocations: 361.5 kB / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.348, allocations: 0 / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.464e-05/0.348, allocations: 19.98 kB / 0.567 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.348, allocations: 4 kB / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.348, allocations: 3.938 kB / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3481, allocations: 0 / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3481, allocations: 3.938 kB / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003279/0.3484, allocations: 211.4 kB / 0.5672 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.601e-05/0.3484, allocations: 15.94 kB / 0.5672 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.3484, allocations: 3.938 kB / 0.5672 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.896e-05/0.3485, allocations: 11.98 kB / 0.5672 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.3486, allocations: 15.98 kB / 0.5672 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.3486, allocations: 0 / 0.5672 GB, free: 13.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.3487, allocations: 123.1 kB / 0.5674 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3487, allocations: 0 / 0.5674 GB, free: 12.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002883/0.349, allocations: 39.88 kB / 0.5674 GB, free: 12.93 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.3514, allocations: 1.172 MB / 0.5685 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002947/0.3517, allocations: 79.94 kB / 0.5686 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3517, allocations: 0 / 0.5686 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.3518, allocations: 43.89 kB / 0.5687 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.3521, allocations: 18.75 kB / 0.5687 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.3544, allocations: 1.593 MB / 0.5702 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.27e-05/0.3544, allocations: 79.67 kB / 0.5703 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.879e-05/0.3545, allocations: 24.95 kB / 0.5703 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.792e-05/0.3546, allocations: 31.52 kB / 0.5704 GB, free: 9.984 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3546, allocations: 3.938 kB / 0.5704 GB, free: 9.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03202/0.3866, allocations: 4.113 MB / 0.5744 GB, free: 5.895 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.45, allocations: 18.12 kB / 0.5744 GB, free: 5.883 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test32_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test32.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.510310309007764]