Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.001388/0.001388, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001506/0.001506, allocations: 210.9 kB / 23.73 MB, free: 4.41 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.52/1.52, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2359/0.2359, allocations: 44.94 MB / 358.8 MB, free: 6.18 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.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23",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.002425/0.002425, allocations: 71.89 kB / 0.493 GB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3318, allocations: 65.47 MB / 0.557 GB, free: 7.379 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.00313/0.335, allocations: 1.595 MB / 0.5585 GB, free: 5.965 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.3369, allocations: 1.244 MB / 0.5598 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.555e-05/0.337, allocations: 0 / 0.5598 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002108/0.3372, allocations: 23.86 kB / 0.5598 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003319/0.3375, allocations: 87.61 kB / 0.5599 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.3378, allocations: 115.6 kB / 0.56 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.338, allocations: 63.78 kB / 0.56 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.3381, allocations: 17.81 kB / 0.56 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.052e-05/0.3382, allocations: 23.92 kB / 0.5601 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.3383, allocations: 31.84 kB / 0.5601 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.3383, allocations: 4 kB / 0.5601 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.3385, allocations: 91.88 kB / 0.5602 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.715e-05/0.3385, allocations: 15.92 kB / 0.5602 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.9e-05/0.3386, allocations: 23.86 kB / 0.5602 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.3388, allocations: 139.5 kB / 0.5604 GB, free: 4.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.3389, allocations: 3.938 kB / 0.5604 GB, free: 4.086 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3389, allocations: 0 / 0.5604 GB, free: 4.086 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.3389, allocations: 0 / 0.5604 GB, free: 4.086 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006091/0.3395, allocations: 327.8 kB / 0.5607 GB, free: 3.738 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.3395, allocations: 16.03 kB / 0.5607 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.735e-05/0.3396, allocations: 30.75 kB / 0.5607 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.3396, allocations: 8.891 kB / 0.5607 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.3398, allocations: 138.3 kB / 0.5609 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.3398, allocations: 8.375 kB / 0.5609 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.3398, allocations: 384 / 0.5609 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.34, allocations: 96.98 kB / 0.561 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.34, allocations: 0 / 0.561 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.34, allocations: 0 / 0.561 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.34, allocations: 0 / 0.561 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.439e-05/0.3401, allocations: 27.97 kB / 0.561 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.3406, allocations: 248 kB / 0.5612 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.3408, allocations: 54.42 kB / 0.5613 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.633e-05/0.3409, allocations: 20.94 kB / 0.5613 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.3409, allocations: 0 / 0.5613 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.3409, allocations: 30.56 kB / 0.5613 GB, free: 2.957 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.3409, allocations: 0 / 0.5613 GB, free: 2.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006092/0.3415, allocations: 153.4 kB / 0.5615 GB, free: 2.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.3416, allocations: 81.11 kB / 0.5616 GB, free: 2.703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.3417, allocations: 141.8 kB / 0.5617 GB, free: 2.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.3418, allocations: 29.64 kB / 0.5617 GB, free: 2.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.555e-05/0.3418, allocations: 100.1 kB / 0.5618 GB, free: 2.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.3419, allocations: 15.86 kB / 0.5618 GB, free: 2.402 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.533e-05/0.3419, allocations: 21.7 kB / 0.5618 GB, free: 2.375 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.342, allocations: 318.8 kB / 0.5622 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.871e-05/0.3421, allocations: 23.98 kB / 0.5622 GB, free: 2.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.3422, allocations: 67.39 kB / 0.5622 GB, free: 1.953 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.3424, allocations: 52.77 kB / 0.5623 GB, free: 1.898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3424, allocations: 0 / 0.5623 GB, free: 1.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000205/0.3426, allocations: 89.8 kB / 0.5624 GB, free: 1.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.3426, allocations: 6.5 kB / 0.5624 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3426, allocations: 4 kB / 0.5624 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.3426, allocations: 4.031 kB / 0.5624 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.923e-05/0.3427, allocations: 11.98 kB / 0.5624 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3427, allocations: 0 / 0.5624 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.272e-05/0.3427, allocations: 11.94 kB / 0.5624 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.3427, allocations: 4 kB / 0.5624 GB, free: 1.766 MB / 398.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 (5): * Single equations (assignments): 5 * 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.000162/0.3429, allocations: 113.8 kB / 0.5625 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.624e-05/0.3429, allocations: 11.89 kB / 0.5625 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.3432, allocations: 98.03 kB / 0.5626 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3432, allocations: 4 kB / 0.5626 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3432, allocations: 4 kB / 0.5626 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3432, allocations: 3.938 kB / 0.5626 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004697/0.3437, allocations: 325.6 kB / 0.5629 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3437, allocations: 0 / 0.5629 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.236e-05/0.3438, allocations: 12 kB / 0.563 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3438, allocations: 0 / 0.563 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.3438, allocations: 7.875 kB / 0.563 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.3438, allocations: 3.984 kB / 0.563 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3438, allocations: 4 kB / 0.563 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.344, allocations: 175.5 kB / 0.5631 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/0.344, allocations: 15.94 kB / 0.5632 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.3441, allocations: 4.188 kB / 0.5632 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.318e-05/0.3442, allocations: 8 kB / 0.5632 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.3442, allocations: 7.922 kB / 0.5632 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.3442, allocations: 4 kB / 0.5632 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.3443, allocations: 111.3 kB / 0.5633 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3443, allocations: 0 / 0.5633 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002919/0.3446, allocations: 43.86 kB / 0.5633 GB, free: 0.7344 MB / 398.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 (5): * Single equations (assignments): 5 * 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.002355/0.347, allocations: 1.138 MB / 0.5644 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002269/0.3472, allocations: 59.84 kB / 0.5645 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3472, allocations: 0 / 0.5645 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.391e-05/0.3473, allocations: 27.97 kB / 0.5645 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.3476, allocations: 15.98 kB / 0.5645 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.3495, allocations: 1.451 MB / 0.566 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.571e-05/0.3496, allocations: 75.08 kB / 0.566 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.11e-05/0.3497, allocations: 27.7 kB / 0.5661 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.75e-05/0.3497, allocations: 31.42 kB / 0.5661 GB, free: 14.01 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3497, allocations: 3.938 kB / 0.5661 GB, free: 14.01 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0336/0.3833, allocations: 3.853 MB / 0.5699 GB, free: 10.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.75, allocations: 7.125 kB / 0.5699 GB, free: 10.18 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.84659742610529]