Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.001848/0.001848, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.00221/0.00221, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.514/1.514, allocations: 230.6 MB / 258.3 MB, free: 8.062 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.235/0.235, allocations: 44.91 MB / 359.6 MB, free: 6.324 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.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24",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.002028/0.002028, allocations: 67.91 kB / 0.4939 GB, free: 10.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3397, allocations: 65.47 MB / 0.5578 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.00321/0.3429, allocations: 1.623 MB / 0.5594 GB, free: 6.184 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.3449, allocations: 1.255 MB / 0.5606 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.601e-05/0.345, allocations: 4 kB / 0.5606 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.3452, allocations: 23.8 kB / 0.5606 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002811/0.3455, allocations: 83.61 kB / 0.5607 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.3457, allocations: 83.77 kB / 0.5608 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.3459, allocations: 75.77 kB / 0.5609 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.661e-05/0.346, allocations: 9.828 kB / 0.5609 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.832e-05/0.346, allocations: 31.91 kB / 0.5609 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.3462, allocations: 27.8 kB / 0.5609 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.3462, allocations: 4 kB / 0.5609 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001857/0.3464, allocations: 103.9 kB / 0.561 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.984e-05/0.3464, allocations: 15.92 kB / 0.5611 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.326e-05/0.3465, allocations: 27.86 kB / 0.5611 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.3467, allocations: 139.4 kB / 0.5612 GB, free: 4.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3467, allocations: 0 / 0.5612 GB, free: 4.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3467, allocations: 0 / 0.5612 GB, free: 4.305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.3467, allocations: 4 kB / 0.5612 GB, free: 4.301 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.0005433/0.3473, allocations: 333.7 kB / 0.5615 GB, free: 3.945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.3473, allocations: 8.031 kB / 0.5615 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.3e-05/0.3473, allocations: 192 / 0.5615 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.38e-05/0.3474, allocations: 30.75 kB / 0.5616 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.3474, allocations: 8.891 kB / 0.5616 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.3477, allocations: 153.1 kB / 0.5617 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.3477, allocations: 384 / 0.5617 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.3477, allocations: 8.125 kB / 0.5617 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.3479, allocations: 63.41 kB / 0.5618 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3479, allocations: 0 / 0.5618 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.3479, allocations: 0 / 0.5618 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.3479, allocations: 3.984 kB / 0.5618 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.254e-05/0.348, allocations: 19.98 kB / 0.5618 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.3484, allocations: 251.9 kB / 0.5621 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.3486, allocations: 38.56 kB / 0.5621 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.984e-05/0.3487, allocations: 20.94 kB / 0.5621 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.3487, allocations: 0 / 0.5621 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.3487, allocations: 30.56 kB / 0.5621 GB, free: 3.215 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 2.826e-06/0.3487, allocations: 3.984 kB / 0.5621 GB, free: 3.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006067/0.3493, allocations: 141.4 kB / 0.5623 GB, free: 3.066 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.762e-05/0.3494, allocations: 85.09 kB / 0.5624 GB, free: 2.965 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.3496, allocations: 148.9 kB / 0.5625 GB, free: 2.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.3496, allocations: 29.7 kB / 0.5625 GB, free: 2.777 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.22e-05/0.3497, allocations: 92.08 kB / 0.5626 GB, free: 2.684 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.3497, allocations: 19.84 kB / 0.5626 GB, free: 2.664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.934e-05/0.3498, allocations: 21.72 kB / 0.5627 GB, free: 2.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3499, allocations: 322.8 kB / 0.563 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.972e-05/0.35, allocations: 19.92 kB / 0.563 GB, free: 2.293 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.599e-05/0.3501, allocations: 29.89 kB / 0.563 GB, free: 2.258 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.3502, allocations: 48.83 kB / 0.5631 GB, free: 2.207 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3502, allocations: 4.031 kB / 0.5631 GB, free: 2.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00021/0.3504, allocations: 81.62 kB / 0.5631 GB, free: 2.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.3504, allocations: 4 kB / 0.5632 GB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3504, allocations: 3.938 kB / 0.5632 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.3505, allocations: 4 kB / 0.5632 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.012e-05/0.3505, allocations: 19.86 kB / 0.5632 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3505, allocations: 0 / 0.5632 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.873e-05/0.3506, allocations: 7.938 kB / 0.5632 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.3506, allocations: 7.984 kB / 0.5632 GB, free: 2.07 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.0001045/0.3507, allocations: 113.8 kB / 0.5633 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/0.3507, allocations: 7.953 kB / 0.5633 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.351, allocations: 90.06 kB / 0.5634 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.351, allocations: 0 / 0.5634 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.351, allocations: 0 / 0.5634 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.351, allocations: 3.938 kB / 0.5634 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.3515, allocations: 329.6 kB / 0.5637 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3515, allocations: 3.984 kB / 0.5637 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.351e-05/0.3516, allocations: 8 kB / 0.5637 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3516, allocations: 0 / 0.5637 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.3516, allocations: 4.125 kB / 0.5637 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.697e-06/0.3516, allocations: 8 kB / 0.5637 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3516, allocations: 0 / 0.5637 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.3518, allocations: 183.4 kB / 0.5639 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.441e-05/0.3518, allocations: 3.953 kB / 0.5639 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.3519, allocations: 7.938 kB / 0.5639 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.885e-05/0.352, allocations: 7.984 kB / 0.5639 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.352, allocations: 4 kB / 0.5639 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.352, allocations: 0 / 0.5639 GB, free: 1.219 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.3521, allocations: 115.2 kB / 0.564 GB, free: 1.105 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3521, allocations: 4 kB / 0.564 GB, free: 1.102 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002951/0.3524, allocations: 39.86 kB / 0.5641 GB, free: 1.062 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.00225/0.3546, allocations: 1.109 MB / 0.5652 GB, free: 124 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002124/0.3549, allocations: 43.97 kB / 0.5652 GB, free: 80 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3549, allocations: 4 kB / 0.5652 GB, free: 76 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.443e-05/0.3549, allocations: 19.98 kB / 0.5652 GB, free: 56 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.3553, allocations: 15.98 kB / 0.5652 GB, free: 40 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.3573, allocations: 1.434 MB / 0.5666 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.3577, allocations: 0.6962 MB / 0.5673 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.187e-05/0.3577, allocations: 16.03 kB / 0.5673 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.194e-05/0.3578, allocations: 31.41 kB / 0.5674 GB, free: 13.76 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3578, allocations: 0 / 0.5674 GB, free: 13.76 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02478/0.3826, allocations: 3.412 MB / 0.5707 GB, free: 10.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.62, allocations: 6.719 kB / 0.5707 GB, free: 10.39 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.849435332987923]