Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.001241/0.001241, allocations: 105.1 kB / 21.22 MB, free: 492 kB / 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.001382/0.001382, allocations: 204.5 kB / 24.51 MB, free: 3.652 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.444/1.444, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2263/0.2263, allocations: 44.94 MB / 359.6 MB, free: 6.059 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.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="cs",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.002038/0.002038, allocations: 67.89 kB / 0.4938 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3314, allocations: 65.48 MB / 0.5577 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003659/0.3351, allocations: 1.627 MB / 0.5593 GB, free: 5.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.3362, allocations: 0.775 MB / 0.5601 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.939e-05/0.3363, allocations: 0 / 0.5601 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.3365, allocations: 23.86 kB / 0.5601 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.3368, allocations: 47.81 kB / 0.5602 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.799e-06/0.3368, allocations: 0 / 0.5602 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.3369, allocations: 31.89 kB / 0.5602 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.337, allocations: 5.828 kB / 0.5602 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.265e-05/0.337, allocations: 7.938 kB / 0.5602 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.338e-05/0.3371, allocations: 18.39 kB / 0.5602 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.3371, allocations: 4 kB / 0.5602 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.974e-05/0.3371, allocations: 15.98 kB / 0.5602 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.809e-05/0.3372, allocations: 16.91 kB / 0.5603 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.9e-05/0.3372, allocations: 19.86 kB / 0.5603 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.3374, allocations: 71.61 kB / 0.5603 GB, free: 4.867 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3374, allocations: 0 / 0.5603 GB, free: 4.867 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3374, allocations: 0 / 0.5603 GB, free: 4.867 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3374, allocations: 0 / 0.5603 GB, free: 4.867 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003852/0.3377, allocations: 290 kB / 0.5606 GB, free: 4.551 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.3378, allocations: 11.97 kB / 0.5606 GB, free: 4.539 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.127e-05/0.3378, allocations: 8.188 kB / 0.5606 GB, free: 4.531 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.4e-05/0.3378, allocations: 34.75 kB / 0.5607 GB, free: 4.488 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.3379, allocations: 8.891 kB / 0.5607 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.338, allocations: 126.4 kB / 0.5608 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.338, allocations: 4.359 kB / 0.5608 GB, free: 4.328 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.218e-06/0.338, allocations: 4.375 kB / 0.5608 GB, free: 4.324 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.3382, allocations: 123.1 kB / 0.5609 GB, free: 4.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.3382, allocations: 4 kB / 0.5609 GB, free: 4.176 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.3383, allocations: 0 / 0.5609 GB, free: 4.176 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-05/0.3383, allocations: 27.92 kB / 0.561 GB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.923e-05/0.3384, allocations: 43.91 kB / 0.561 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007721/0.3392, allocations: 0.8469 MB / 0.5618 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.3393, allocations: 177.1 kB / 0.562 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.669e-05/0.3393, allocations: 84.14 kB / 0.5621 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.3394, allocations: 75.28 kB / 0.5621 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.075e-05/0.3394, allocations: 109.8 kB / 0.5623 GB, free: 2.734 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3394, allocations: 0 / 0.5623 GB, free: 2.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001072/0.3395, allocations: 41.64 kB / 0.5623 GB, free: 2.688 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.039e-05/0.3396, allocations: 130.7 kB / 0.5624 GB, free: 2.547 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.3398, allocations: 186.1 kB / 0.5626 GB, free: 2.355 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.3398, allocations: 25.7 kB / 0.5626 GB, free: 2.324 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.3399, allocations: 151.5 kB / 0.5628 GB, free: 2.172 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.787e-06/0.3399, allocations: 4 kB / 0.5628 GB, free: 2.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-05/0.34, allocations: 41.67 kB / 0.5628 GB, free: 2.121 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3402, allocations: 322.8 kB / 0.5631 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.366e-05/0.3402, allocations: 31.97 kB / 0.5631 GB, free: 1.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.3404, allocations: 160 kB / 0.5633 GB, free: 1.551 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.3406, allocations: 204.9 kB / 0.5635 GB, free: 1.289 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3406, allocations: 0 / 0.5635 GB, free: 1.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000362/0.341, allocations: 205.6 kB / 0.5637 GB, free: 1.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.341, allocations: 8 kB / 0.5637 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.341, allocations: 4 kB / 0.5637 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.341, allocations: 8 kB / 0.5637 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.3412, allocations: 35.92 kB / 0.5637 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.3412, allocations: 7.984 kB / 0.5637 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.3413, allocations: 23.83 kB / 0.5638 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.3413, allocations: 12 kB / 0.5638 GB, free: 0.9844 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001631/0.3415, allocations: 216.9 kB / 0.564 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.444e-05/0.3416, allocations: 116.9 kB / 0.5641 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.92e-05/0.3416, allocations: 120.6 kB / 0.5642 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.015e-05/0.3417, allocations: 188.1 kB / 0.5644 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001034/0.3418, allocations: 180.3 kB / 0.5646 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001118/0.342, allocations: 188.3 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/0.3423, allocations: 400.2 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.683e-05/0.3423, allocations: 101 kB / 0.5652 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.073e-05/0.3424, allocations: 104.9 kB / 0.5653 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.704e-05/0.3425, allocations: 184.3 kB / 0.5655 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-05/0.3426, allocations: 176.3 kB / 0.5657 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.543e-05/0.3426, allocations: 188.2 kB / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001029/0.3428, allocations: 188.2 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.343, allocations: 315.6 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.036e-05/0.343, allocations: 108.9 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.3431, allocations: 188.2 kB / 0.5666 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.3433, allocations: 101 kB / 0.5667 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.83e-05/0.3434, allocations: 184.2 kB / 0.5669 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-05/0.3434, allocations: 104.9 kB / 0.567 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.3436, allocations: 132 kB / 0.5671 GB, free: 13.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3436, allocations: 4 kB / 0.5671 GB, free: 13.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003312/0.3439, allocations: 12 kB / 0.5671 GB, free: 13.36 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 (0): * Single equations (assignments): 0 * 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.001182/0.3451, allocations: 0.9296 MB / 0.568 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.3453, allocations: 71.78 kB / 0.5681 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3453, allocations: 0 / 0.5681 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.3453, allocations: 0 / 0.5681 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.3457, allocations: 466.4 kB / 0.5685 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.3479, allocations: 1.878 MB / 0.5704 GB, free: 9.848 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.348, allocations: 91.44 kB / 0.5705 GB, free: 9.738 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002441/0.3483, allocations: 53.02 kB / 0.5705 GB, free: 9.688 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.811e-05/0.3483, allocations: 27.44 kB / 0.5705 GB, free: 9.66 MB / 414.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3483, allocations: 0 / 0.5705 GB, free: 9.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02461/0.3729, allocations: 2.339 MB / 0.5728 GB, free: 7.387 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.8, allocations: 13.16 kB / 0.5728 GB, free: 7.379 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.847212604945526]