Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.001597/0.001597, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001926/0.001926, allocations: 212.3 kB / 24.52 MB, free: 3.914 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.468/1.468, allocations: 230.6 MB / 258.3 MB, free: 7.73 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.2323/0.2323, allocations: 46.96 MB / 361.7 MB, free: 4.012 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.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 71.89 kB / 0.4969 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3418, allocations: 66.02 MB / 0.5614 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003237/0.345, allocations: 1.617 MB / 0.5629 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.3461, allocations: 0.5339 MB / 0.5635 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.982e-05/0.3462, allocations: 3.938 kB / 0.5635 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006575/0.3468, allocations: 463.1 kB / 0.5639 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004628/0.3473, allocations: 287.3 kB / 0.5642 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.3477, allocations: 175.5 kB / 0.5643 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002274/0.348, allocations: 163.6 kB / 0.5645 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.3481, allocations: 23.97 kB / 0.5645 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.3482, allocations: 103.7 kB / 0.5646 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.3484, allocations: 251.5 kB / 0.5649 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.3485, allocations: 4 kB / 0.5649 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.43e-05/0.3485, allocations: 31.92 kB / 0.5649 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.3486, allocations: 80.67 kB / 0.565 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.202e-05/0.3487, allocations: 67.25 kB / 0.565 GB, free: 444 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.349, allocations: 264.5 kB / 0.5653 GB, free: 180 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.349, allocations: 0 / 0.5653 GB, free: 180 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.349, allocations: 0 / 0.5653 GB, free: 180 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.349, allocations: 0 / 0.5653 GB, free: 180 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007482/0.3498, allocations: 0.5785 MB / 0.5659 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3498, allocations: 8.031 kB / 0.5659 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.835e-05/0.3498, allocations: 4.188 kB / 0.5659 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.54e-05/0.3499, allocations: 38.75 kB / 0.5659 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.889e-05/0.3499, allocations: 48.59 kB / 0.5659 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.3502, allocations: 250.7 kB / 0.5662 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.3502, allocations: 4.375 kB / 0.5662 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.3502, allocations: 3.375 kB / 0.5662 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.3504, allocations: 49.69 kB / 0.5662 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.3504, allocations: 0 / 0.5662 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3504, allocations: 0 / 0.5662 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3504, allocations: 0 / 0.5662 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.404e-05/0.3505, allocations: 31.97 kB / 0.5663 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004984/0.351, allocations: 351.8 kB / 0.5666 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.78e-05/0.3511, allocations: 34.56 kB / 0.5666 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.257e-05/0.3512, allocations: 16.91 kB / 0.5667 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.3512, allocations: 0 / 0.5667 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.3512, allocations: 34.56 kB / 0.5667 GB, free: 14.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.3512, allocations: 0 / 0.5667 GB, free: 14.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002928/0.3515, allocations: 113.3 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.3516, allocations: 55.34 kB / 0.5669 GB, free: 14.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008885/0.3524, allocations: 0.8738 MB / 0.5677 GB, free: 13.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.3525, allocations: 25.7 kB / 0.5677 GB, free: 13.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.3526, allocations: 228.1 kB / 0.5679 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.3527, allocations: 7.891 kB / 0.568 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.3527, allocations: 17.72 kB / 0.568 GB, free: 13.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.3529, allocations: 358.7 kB / 0.5683 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.88e-05/0.3529, allocations: 15.98 kB / 0.5683 GB, free: 12.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.591e-05/0.353, allocations: 8.109 kB / 0.5683 GB, free: 12.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.238e-05/0.353, allocations: 32.91 kB / 0.5684 GB, free: 12.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.353, allocations: 0 / 0.5684 GB, free: 12.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001634/0.3532, allocations: 97.34 kB / 0.5685 GB, free: 12.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3532, allocations: 4 kB / 0.5685 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3532, allocations: 3.984 kB / 0.5685 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.3532, allocations: 0 / 0.5685 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.561e-05/0.3533, allocations: 11.94 kB / 0.5685 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.3533, allocations: 3.938 kB / 0.5685 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.13e-05/0.3534, allocations: 8.031 kB / 0.5685 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.3534, allocations: 0 / 0.5685 GB, free: 12.69 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 (2): * Single equations (assignments): 2 * 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.0002005/0.3536, allocations: 209.8 kB / 0.5687 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/0.3536, allocations: 47.72 kB / 0.5687 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/0.3538, allocations: 112.8 kB / 0.5688 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3539, allocations: 0 / 0.5688 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3539, allocations: 3.938 kB / 0.5688 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3539, allocations: 4 kB / 0.5689 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.3541, allocations: 260.6 kB / 0.5691 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3541, allocations: 0 / 0.5691 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-05/0.3542, allocations: 7.984 kB / 0.5691 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3542, allocations: 0 / 0.5691 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.3542, allocations: 0 / 0.5691 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3542, allocations: 0 / 0.5691 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3542, allocations: 3.938 kB / 0.5691 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.3544, allocations: 191.2 kB / 0.5693 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.042e-05/0.3544, allocations: 39.72 kB / 0.5693 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.3545, allocations: 0 / 0.5693 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.935e-05/0.3545, allocations: 11.97 kB / 0.5693 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.3546, allocations: 7.922 kB / 0.5694 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.3546, allocations: 0 / 0.5694 GB, free: 11.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000649/0.3552, allocations: 0.6589 MB / 0.57 GB, free: 11.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3552, allocations: 0 / 0.57 GB, free: 11.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002422/0.3555, allocations: 16 kB / 0.57 GB, free: 11.06 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 (2): * Single equations (assignments): 2 * 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.001758/0.3572, allocations: 0.9906 MB / 0.571 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.3574, allocations: 35.84 kB / 0.571 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3574, allocations: 0 / 0.571 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.217e-05/0.3574, allocations: 12 kB / 0.571 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.3579, allocations: 33.42 kB / 0.5711 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003644/0.3615, allocations: 3.191 MB / 0.5742 GB, free: 6.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.3617, allocations: 216.2 kB / 0.5744 GB, free: 6.609 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.352e-05/0.3618, allocations: 15.8 kB / 0.5744 GB, free: 6.594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.3619, allocations: 115.4 kB / 0.5745 GB, free: 6.48 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3619, allocations: 4 kB / 0.5745 GB, free: 6.477 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02581/0.3877, allocations: 6.042 MB / 0.5804 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.26, allocations: 10.28 kB / 0.5804 GB, free: 500 kB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.369588633999228]