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.001926/0.001926, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002839/0.002839, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.479/1.479, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.2321/0.2321, allocations: 46.92 MB / 361.6 MB, free: 4.262 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.00191/0.00191, allocations: 67.88 kB / 0.4969 GB, free: 7.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3157, allocations: 66.03 MB / 0.5614 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003143/0.3188, allocations: 1.632 MB / 0.563 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.32, allocations: 0.5767 MB / 0.5636 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.541e-05/0.32, allocations: 4 kB / 0.5636 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006534/0.3207, allocations: 451.1 kB / 0.564 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004739/0.3212, allocations: 283.3 kB / 0.5643 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004549/0.3216, allocations: 178.9 kB / 0.5645 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.3219, allocations: 171.6 kB / 0.5646 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.922e-05/0.322, allocations: 12 kB / 0.5646 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.3221, allocations: 111.7 kB / 0.5647 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000276/0.3224, allocations: 251.5 kB / 0.565 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.3224, allocations: 4 kB / 0.565 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.71e-05/0.3225, allocations: 27.98 kB / 0.565 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.995e-05/0.3226, allocations: 84.67 kB / 0.5651 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.315e-05/0.3227, allocations: 103 kB / 0.5652 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003132/0.323, allocations: 256.6 kB / 0.5654 GB, free: 332 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.323, allocations: 0 / 0.5654 GB, free: 332 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.323, allocations: 3.938 kB / 0.5654 GB, free: 328 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.323, allocations: 4 kB / 0.5654 GB, free: 324 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.0007328/0.3237, allocations: 0.5854 MB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.3238, allocations: 8.031 kB / 0.566 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.405e-05/0.3238, allocations: 192 / 0.566 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.224e-05/0.3238, allocations: 34.75 kB / 0.5661 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.946e-05/0.3239, allocations: 40.66 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.3242, allocations: 250.8 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.255e-06/0.3242, allocations: 384 / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.3242, allocations: 16.12 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.3244, allocations: 53.61 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3244, allocations: 0 / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.3244, allocations: 4 kB / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3244, allocations: 0 / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.354e-05/0.3245, allocations: 23.98 kB / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005087/0.325, allocations: 351.9 kB / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.063e-05/0.3251, allocations: 38.5 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.239e-05/0.3251, allocations: 16.91 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.3251, allocations: 0 / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.3252, allocations: 38.56 kB / 0.5668 GB, free: 14.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.3252, allocations: 0 / 0.5668 GB, free: 14.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002961/0.3255, allocations: 105.4 kB / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.526e-05/0.3255, allocations: 59.34 kB / 0.567 GB, free: 14.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009244/0.3264, allocations: 0.8777 MB / 0.5679 GB, free: 13.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.3265, allocations: 25.7 kB / 0.5679 GB, free: 13.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.3266, allocations: 220.1 kB / 0.5681 GB, free: 13.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.3267, allocations: 7.891 kB / 0.5681 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.3267, allocations: 17.72 kB / 0.5681 GB, free: 13.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.3269, allocations: 370.7 kB / 0.5685 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.438e-05/0.3269, allocations: 12.03 kB / 0.5685 GB, free: 13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.904e-05/0.327, allocations: 11.98 kB / 0.5685 GB, free: 12.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.194e-05/0.327, allocations: 24.84 kB / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.327, allocations: 0 / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001629/0.3272, allocations: 97.39 kB / 0.5686 GB, free: 12.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.3272, allocations: 7.938 kB / 0.5686 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3272, allocations: 4.094 kB / 0.5686 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3272, allocations: 0 / 0.5686 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.75e-05/0.3273, allocations: 8 kB / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3273, allocations: 3.938 kB / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.472e-05/0.3274, allocations: 7.984 kB / 0.5686 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.3274, allocations: 3.938 kB / 0.5686 GB, free: 12.83 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.0001983/0.3276, allocations: 205.8 kB / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.265e-05/0.3277, allocations: 47.67 kB / 0.5689 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.3279, allocations: 112.8 kB / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3279, allocations: 0 / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3279, allocations: 0 / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3279, allocations: 0 / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.3282, allocations: 260.6 kB / 0.5692 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.3282, allocations: 7.984 kB / 0.5693 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.61e-05/0.3282, allocations: 4 kB / 0.5693 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.3282, allocations: 0 / 0.5693 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.3282, allocations: 0 / 0.5693 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3282, allocations: 0 / 0.5693 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.3282, allocations: 11.97 kB / 0.5693 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.3285, allocations: 195.2 kB / 0.5695 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-05/0.3285, allocations: 35.7 kB / 0.5695 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.3285, allocations: 4 kB / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.848e-05/0.3286, allocations: 3.984 kB / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.071e-05/0.3286, allocations: 0 / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.3286, allocations: 4 kB / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006677/0.3293, allocations: 0.6667 MB / 0.5702 GB, free: 11.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3293, allocations: 0 / 0.5702 GB, free: 11.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000252/0.3296, allocations: 20 kB / 0.5702 GB, free: 11.19 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.001696/0.3313, allocations: 0.9752 MB / 0.5711 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.3314, allocations: 23.98 kB / 0.5711 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3314, allocations: 0 / 0.5711 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.236e-05/0.3315, allocations: 16.05 kB / 0.5712 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.3319, allocations: 29.53 kB / 0.5712 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/0.3358, allocations: 3.195 MB / 0.5743 GB, free: 6.973 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/0.3363, allocations: 0.8221 MB / 0.5751 GB, free: 6.125 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.226e-05/0.3364, allocations: 15.81 kB / 0.5751 GB, free: 6.109 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.3365, allocations: 115.4 kB / 0.5752 GB, free: 5.996 MB / 414.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3365, allocations: 4 kB / 0.5752 GB, free: 5.992 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02812/0.3647, allocations: 5.978 MB / 0.5811 GB, free: 92 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.27, allocations: 7.188 kB / 0.5811 GB, free: 88 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.422154827974737]