Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.001293/0.001293, 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.001499/0.001499, allocations: 206.1 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.544/1.544, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.2694/0.2694, allocations: 44.91 MB / 359.6 MB, free: 6.305 MB / 286.1 MB " [Timeout remaining time 179] 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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29",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.002072/0.002072, allocations: 59.91 kB / 0.4939 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3339, allocations: 65.47 MB / 0.5578 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.003247/0.3371, allocations: 1.661 MB / 0.5594 GB, free: 6.121 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.3382, allocations: 0.5737 MB / 0.56 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.439e-05/0.3383, allocations: 0 / 0.56 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002282/0.3385, allocations: 35.77 kB / 0.56 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002735/0.3388, allocations: 79.69 kB / 0.5601 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.3391, allocations: 119.6 kB / 0.5602 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.3393, allocations: 95.73 kB / 0.5603 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3394, allocations: 25.81 kB / 0.5603 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.079e-05/0.3395, allocations: 35.86 kB / 0.5604 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.3396, allocations: 39.83 kB / 0.5604 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.3396, allocations: 4 kB / 0.5604 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.3397, allocations: 47.92 kB / 0.5605 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.661e-05/0.3397, allocations: 31.84 kB / 0.5605 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.3398, allocations: 31.81 kB / 0.5605 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.34, allocations: 115.4 kB / 0.5606 GB, free: 4.895 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.34, allocations: 0 / 0.5606 GB, free: 4.895 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.34, allocations: 0 / 0.5606 GB, free: 4.895 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.3401, allocations: 3.938 kB / 0.5606 GB, free: 4.891 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005036/0.3406, allocations: 337.7 kB / 0.561 GB, free: 4.531 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.3406, allocations: 8.031 kB / 0.561 GB, free: 4.523 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.78e-05/0.3406, allocations: 4.188 kB / 0.561 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.16e-05/0.3407, allocations: 38.73 kB / 0.561 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.3407, allocations: 12.84 kB / 0.561 GB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.3409, allocations: 148.6 kB / 0.5612 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.3409, allocations: 4.375 kB / 0.5612 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.341, allocations: 12.12 kB / 0.5612 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.3411, allocations: 73.67 kB / 0.5612 GB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3412, allocations: 0 / 0.5612 GB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.3412, allocations: 11.88 kB / 0.5613 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3412, allocations: 3.984 kB / 0.5613 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.3413, allocations: 43.97 kB / 0.5613 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005233/0.3418, allocations: 303.8 kB / 0.5616 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.342, allocations: 70.48 kB / 0.5617 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.052e-05/0.342, allocations: 20.84 kB / 0.5617 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.3421, allocations: 7.984 kB / 0.5617 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.3421, allocations: 30.56 kB / 0.5617 GB, free: 3.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.3421, allocations: 0 / 0.5617 GB, free: 3.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001153/0.3433, allocations: 337 kB / 0.562 GB, free: 3.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.3433, allocations: 55.34 kB / 0.5621 GB, free: 3.254 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.3435, allocations: 163.3 kB / 0.5622 GB, free: 3.086 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.3435, allocations: 25.7 kB / 0.5623 GB, free: 3.055 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.225e-05/0.3436, allocations: 112.1 kB / 0.5624 GB, free: 2.941 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.462e-05/0.3436, allocations: 43.58 kB / 0.5624 GB, free: 2.898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-05/0.3437, allocations: 29.7 kB / 0.5624 GB, free: 2.863 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.3438, allocations: 322.8 kB / 0.5628 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.3439, allocations: 43.97 kB / 0.5628 GB, free: 2.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.344, allocations: 44.09 kB / 0.5628 GB, free: 2.453 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002385/0.3443, allocations: 116.8 kB / 0.563 GB, free: 2.336 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3443, allocations: 0 / 0.563 GB, free: 2.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003587/0.3446, allocations: 149.5 kB / 0.5631 GB, free: 2.184 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.3447, allocations: 7.938 kB / 0.5631 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.3447, allocations: 0 / 0.5631 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.3447, allocations: 4 kB / 0.5631 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.3448, allocations: 23.98 kB / 0.5631 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.3448, allocations: 0 / 0.5631 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.448e-05/0.3449, allocations: 11.98 kB / 0.5631 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.3449, allocations: 11.94 kB / 0.5632 GB, free: 2.125 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 (13): * Single equations (assignments): 13 * 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.0001084/0.345, allocations: 125.8 kB / 0.5633 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/0.345, allocations: 11.89 kB / 0.5633 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004081/0.3454, allocations: 189.8 kB / 0.5635 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.3454, allocations: 4 kB / 0.5635 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3454, allocations: 4 kB / 0.5635 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3454, allocations: 0 / 0.5635 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000703/0.3461, allocations: 458.2 kB / 0.5639 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3462, allocations: 4 kB / 0.5639 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.3463, allocations: 31.92 kB / 0.5639 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3463, allocations: 0 / 0.5639 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.3463, allocations: 7.984 kB / 0.5639 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3463, allocations: 0 / 0.5639 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3463, allocations: 0 / 0.5639 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.3466, allocations: 256.2 kB / 0.5642 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.449e-05/0.3466, allocations: 7.953 kB / 0.5642 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.3467, allocations: 8 kB / 0.5642 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.782e-05/0.3467, allocations: 7.922 kB / 0.5642 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.3468, allocations: 11.92 kB / 0.5642 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.3468, allocations: 11.94 kB / 0.5642 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001153/0.3469, allocations: 129.3 kB / 0.5644 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3469, allocations: 4 kB / 0.5644 GB, free: 0.793 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.3472, allocations: 27.92 kB / 0.5644 GB, free: 0.7656 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.002349/0.3495, allocations: 1.123 MB / 0.5655 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003117/0.3498, allocations: 115.8 kB / 0.5656 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3498, allocations: 0 / 0.5656 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.35, allocations: 63.89 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.3503, allocations: 23.91 kB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.3526, allocations: 1.758 MB / 0.5674 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.3529, allocations: 0.7041 MB / 0.5681 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.381e-05/0.353, allocations: 28.45 kB / 0.5681 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.799e-05/0.3531, allocations: 39.42 kB / 0.5682 GB, free: 12.96 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3531, allocations: 4 kB / 0.5682 GB, free: 12.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.3752, allocations: 3.506 MB / 0.5716 GB, free: 9.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.58, allocations: 12.06 kB / 0.5716 GB, free: 9.508 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.873366897983942]