Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.001844/0.001844, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002351/0.002351, allocations: 213.1 kB / 23.75 MB, free: 4.668 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.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2325/0.2325, allocations: 44.91 MB / 358.8 MB, free: 6.273 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 67.84 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3293, allocations: 65.48 MB / 0.557 GB, free: 7.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.00353/0.3328, allocations: 2.07 MB / 0.5591 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.3349, allocations: 1.143 MB / 0.5602 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.335, allocations: 3.938 kB / 0.5602 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005107/0.3355, allocations: 271.1 kB / 0.5604 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005266/0.3361, allocations: 259.1 kB / 0.5607 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.3375, allocations: 0.6573 MB / 0.5613 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004851/0.338, allocations: 366.8 kB / 0.5617 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.3381, allocations: 46.73 kB / 0.5617 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.3383, allocations: 155.3 kB / 0.5619 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002919/0.3386, allocations: 239.2 kB / 0.5621 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.3386, allocations: 12 kB / 0.5621 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.3388, allocations: 107.8 kB / 0.5622 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.3389, allocations: 107.6 kB / 0.5623 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.3391, allocations: 126.9 kB / 0.5624 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004614/0.3395, allocations: 374.1 kB / 0.5628 GB, free: 1.746 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.3395, allocations: 0 / 0.5628 GB, free: 1.746 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3395, allocations: 0 / 0.5628 GB, free: 1.746 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.3395, allocations: 0 / 0.5628 GB, free: 1.746 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000833/0.3404, allocations: 0.6476 MB / 0.5634 GB, free: 1.066 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.3404, allocations: 8.031 kB / 0.5634 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.276e-05/0.3405, allocations: 42.69 kB / 0.5635 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.352e-05/0.3405, allocations: 44.66 kB / 0.5635 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.3409, allocations: 284.6 kB / 0.5638 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.3409, allocations: 8.375 kB / 0.5638 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.341, allocations: 8.375 kB / 0.5638 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.3412, allocations: 137.4 kB / 0.5639 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.3413, allocations: 3.953 kB / 0.5639 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.3413, allocations: 4 kB / 0.5639 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3413, allocations: 8 kB / 0.564 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002023/0.3415, allocations: 91.88 kB / 0.564 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007444/0.3422, allocations: 0.4916 MB / 0.5645 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.3424, allocations: 106.5 kB / 0.5646 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.126e-05/0.3425, allocations: 40.83 kB / 0.5647 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.3425, allocations: 4 kB / 0.5647 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.3425, allocations: 34.5 kB / 0.5647 GB, free: 15.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.3425, allocations: 224 / 0.5647 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009912/0.3435, allocations: 456.3 kB / 0.5651 GB, free: 15.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.3436, allocations: 55.41 kB / 0.5652 GB, free: 15.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006667/0.3443, allocations: 0.6034 MB / 0.5658 GB, free: 14.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.3443, allocations: 33.7 kB / 0.5658 GB, free: 14.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.3444, allocations: 212.4 kB / 0.566 GB, free: 14.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.679e-05/0.3445, allocations: 59.44 kB / 0.5661 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.88e-05/0.3446, allocations: 37.7 kB / 0.5661 GB, free: 14.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3447, allocations: 358.8 kB / 0.5664 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.3449, allocations: 63.95 kB / 0.5665 GB, free: 13.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.345, allocations: 67.95 kB / 0.5666 GB, free: 13.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.3453, allocations: 167.3 kB / 0.5667 GB, free: 13.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3453, allocations: 0 / 0.5667 GB, free: 13.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003882/0.3457, allocations: 233.2 kB / 0.567 GB, free: 13.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3457, allocations: 11.94 kB / 0.567 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3457, allocations: 0 / 0.567 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3457, allocations: 3.984 kB / 0.567 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.3459, allocations: 39.92 kB / 0.567 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.3459, allocations: 0 / 0.567 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.875e-05/0.3459, allocations: 8 kB / 0.567 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.346, allocations: 7.984 kB / 0.567 GB, free: 13.21 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 (17): * Single equations (assignments): 17 * 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.000174/0.3461, allocations: 177.8 kB / 0.5672 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-05/0.3462, allocations: 51.66 kB / 0.5672 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005282/0.3467, allocations: 288 kB / 0.5675 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.3467, allocations: 4 kB / 0.5675 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.3468, allocations: 0 / 0.5675 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3468, allocations: 0 / 0.5675 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009344/0.3477, allocations: 0.6613 MB / 0.5682 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3477, allocations: 0 / 0.5682 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.3478, allocations: 31.98 kB / 0.5682 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3478, allocations: 0 / 0.5682 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.3478, allocations: 8 kB / 0.5682 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.3478, allocations: 3.938 kB / 0.5682 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3478, allocations: 0 / 0.5682 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.3483, allocations: 341.2 kB / 0.5685 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.898e-05/0.3483, allocations: 47.7 kB / 0.5686 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.3484, allocations: 0 / 0.5686 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.3485, allocations: 23.92 kB / 0.5686 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.3485, allocations: 7.984 kB / 0.5686 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.3485, allocations: 4 kB / 0.5686 GB, free: 11.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004823/0.349, allocations: 450.8 kB / 0.569 GB, free: 11.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.349, allocations: 0 / 0.569 GB, free: 11.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003161/0.3493, allocations: 55.92 kB / 0.5691 GB, free: 11.01 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 (17): * Single equations (assignments): 17 * 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.003373/0.3527, allocations: 1.481 MB / 0.5705 GB, free: 9.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003476/0.3531, allocations: 167.7 kB / 0.5707 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3531, allocations: 0 / 0.5707 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.3532, allocations: 85.92 kB / 0.5708 GB, free: 9.574 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005504/0.3538, allocations: 97.92 kB / 0.5709 GB, free: 9.488 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004213/0.358, allocations: 3.33 MB / 0.5741 GB, free: 6.078 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004593/0.3584, allocations: 0.826 MB / 0.5749 GB, free: 5.227 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001578/0.3586, allocations: 62.23 kB / 0.575 GB, free: 5.168 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.3588, allocations: 139.4 kB / 0.5751 GB, free: 5.031 MB / 414.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3588, allocations: 0 / 0.5751 GB, free: 5.031 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03493/0.3937, allocations: 8.12 MB / 0.5831 GB, free: 12.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.04, allocations: 0 / 0.5831 GB, free: 12.96 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.126968175172806]