Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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.001352/0.001352, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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: 211.9 kB / 24.51 MB, free: 3.941 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.785 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.2228/0.2228, allocations: 44.93 MB / 359.6 MB, free: 6.062 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.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33",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.002162/0.002162, allocations: 59.91 kB / 0.4938 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3285, allocations: 65.47 MB / 0.5577 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.003227/0.3317, allocations: 1.597 MB / 0.5593 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.3336, allocations: 1.236 MB / 0.5605 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.211e-05/0.3337, allocations: 3.938 kB / 0.5605 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.3339, allocations: 19.86 kB / 0.5605 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.3343, allocations: 91.61 kB / 0.5606 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.3346, allocations: 107.7 kB / 0.5607 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.3348, allocations: 71.77 kB / 0.5608 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.3349, allocations: 14.09 kB / 0.5608 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.567e-05/0.335, allocations: 31.8 kB / 0.5608 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.3351, allocations: 35.83 kB / 0.5609 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.3352, allocations: 4 kB / 0.5609 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.3353, allocations: 87.95 kB / 0.561 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.22e-05/0.3354, allocations: 19.92 kB / 0.561 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.806e-05/0.3354, allocations: 19.86 kB / 0.561 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.3357, allocations: 135.5 kB / 0.5611 GB, free: 4.203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3357, allocations: 0 / 0.5611 GB, free: 4.203 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3357, allocations: 4 kB / 0.5611 GB, free: 4.199 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.3357, allocations: 0 / 0.5611 GB, free: 4.199 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.0005482/0.3363, allocations: 329.7 kB / 0.5614 GB, free: 3.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3363, allocations: 8.031 kB / 0.5614 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.18e-05/0.3363, allocations: 192 / 0.5614 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.13e-05/0.3364, allocations: 42.67 kB / 0.5615 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.3364, allocations: 8.891 kB / 0.5615 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.3366, allocations: 134.4 kB / 0.5616 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.142e-06/0.3366, allocations: 384 / 0.5616 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.3366, allocations: 12.06 kB / 0.5616 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.3368, allocations: 97.09 kB / 0.5617 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3368, allocations: 0 / 0.5617 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.3369, allocations: 0 / 0.5617 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.3369, allocations: 4 kB / 0.5617 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.337, allocations: 27.91 kB / 0.5618 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.3374, allocations: 248 kB / 0.562 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.3376, allocations: 46.56 kB / 0.562 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.336e-05/0.3377, allocations: 12.94 kB / 0.5621 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.3377, allocations: 4 kB / 0.5621 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.3377, allocations: 38.5 kB / 0.5621 GB, free: 3.062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3377, allocations: 3.938 kB / 0.5621 GB, free: 3.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005839/0.3383, allocations: 145.5 kB / 0.5622 GB, free: 2.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/0.3384, allocations: 85.05 kB / 0.5623 GB, free: 2.809 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.3385, allocations: 148.4 kB / 0.5625 GB, free: 2.656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.3386, allocations: 29.7 kB / 0.5625 GB, free: 2.621 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.172e-05/0.3386, allocations: 92.12 kB / 0.5626 GB, free: 2.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.3386, allocations: 23.8 kB / 0.5626 GB, free: 2.504 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.3387, allocations: 17.72 kB / 0.5626 GB, free: 2.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3388, allocations: 318.8 kB / 0.5629 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.793e-05/0.3389, allocations: 19.98 kB / 0.5629 GB, free: 2.141 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.339, allocations: 67.39 kB / 0.563 GB, free: 2.062 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.3392, allocations: 48.83 kB / 0.563 GB, free: 2.012 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3392, allocations: 0 / 0.563 GB, free: 2.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002499/0.3395, allocations: 93.59 kB / 0.5631 GB, free: 1.914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3395, allocations: 7.984 kB / 0.5631 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3395, allocations: 0 / 0.5631 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3395, allocations: 0 / 0.5631 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.64e-05/0.3396, allocations: 12 kB / 0.5632 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3396, allocations: 0 / 0.5632 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.112e-05/0.3396, allocations: 11.92 kB / 0.5632 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.3396, allocations: 0 / 0.5632 GB, free: 1.883 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.0001005/0.3397, allocations: 113.8 kB / 0.5633 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.3398, allocations: 11.95 kB / 0.5633 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.34, allocations: 102.6 kB / 0.5634 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.34, allocations: 7.938 kB / 0.5634 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.34, allocations: 0 / 0.5634 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.34, allocations: 7.922 kB / 0.5634 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005444/0.3406, allocations: 321.6 kB / 0.5637 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3406, allocations: 0 / 0.5637 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.813e-05/0.3407, allocations: 15.98 kB / 0.5637 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3407, allocations: 0 / 0.5637 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.3407, allocations: 7.938 kB / 0.5637 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3407, allocations: 0 / 0.5637 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3407, allocations: 3.938 kB / 0.5637 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.3409, allocations: 183.5 kB / 0.5639 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.095e-05/0.341, allocations: 7.938 kB / 0.5639 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.341, allocations: 7.938 kB / 0.5639 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.6e-05/0.3411, allocations: 4 kB / 0.5639 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.3411, allocations: 7.984 kB / 0.5639 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.3411, allocations: 4 kB / 0.5639 GB, free: 1 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.3412, allocations: 107.3 kB / 0.564 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3412, allocations: 0 / 0.564 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000307/0.3415, allocations: 47.8 kB / 0.5641 GB, free: 0.8477 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.002656/0.3442, allocations: 1.153 MB / 0.5652 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002447/0.3444, allocations: 43.97 kB / 0.5653 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3444, allocations: 0 / 0.5653 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.244e-05/0.3445, allocations: 35.91 kB / 0.5653 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.3449, allocations: 13.31 kB / 0.5653 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.3469, allocations: 1.458 MB / 0.5667 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.347, allocations: 87.02 kB / 0.5668 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.3471, allocations: 16 kB / 0.5668 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.515e-05/0.3471, allocations: 27.42 kB / 0.5669 GB, free: 14.12 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3471, allocations: 0 / 0.5669 GB, free: 14.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/0.3725, allocations: 3.524 MB / 0.5703 GB, free: 10.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.87, allocations: 0 / 0.5703 GB, free: 10.64 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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.005266838008538]