Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.001745/0.001745, 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.002279/0.002279, allocations: 214.9 kB / 24.52 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.503/1.503, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2285/0.2285, allocations: 44.93 MB / 359.6 MB, free: 6.07 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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",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.002041/0.002041, allocations: 63.91 kB / 0.4938 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3496, allocations: 65.47 MB / 0.5577 GB, free: 7.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003349/0.353, allocations: 1.645 MB / 0.5594 GB, free: 5.918 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.3541, allocations: 0.5311 MB / 0.5599 GB, free: 5.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.392e-05/0.3542, allocations: 4 kB / 0.5599 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.3545, allocations: 99.61 kB / 0.56 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.3549, allocations: 115.6 kB / 0.5601 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.3552, allocations: 115.7 kB / 0.5602 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.3554, allocations: 103.8 kB / 0.5603 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.3556, allocations: 21.8 kB / 0.5603 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.583e-05/0.3556, allocations: 43.78 kB / 0.5604 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.3557, allocations: 75.67 kB / 0.5604 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.3558, allocations: 8 kB / 0.5604 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.3559, allocations: 43.98 kB / 0.5605 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.534e-05/0.3559, allocations: 31.91 kB / 0.5605 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.909e-05/0.356, allocations: 27.75 kB / 0.5605 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.3562, allocations: 143.3 kB / 0.5607 GB, free: 4.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3562, allocations: 0 / 0.5607 GB, free: 4.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3562, allocations: 0 / 0.5607 GB, free: 4.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3562, allocations: 0 / 0.5607 GB, free: 4.566 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.0005548/0.3568, allocations: 365.4 kB / 0.561 GB, free: 4.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.3568, allocations: 12.03 kB / 0.561 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.012e-05/0.3569, allocations: 192 / 0.561 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.1e-05/0.3569, allocations: 38.75 kB / 0.5611 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.357, allocations: 12.84 kB / 0.5611 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.3572, allocations: 162.8 kB / 0.5612 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.3572, allocations: 12.38 kB / 0.5612 GB, free: 3.914 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.3572, allocations: 8.125 kB / 0.5613 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.3574, allocations: 72.78 kB / 0.5613 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.3574, allocations: 3.953 kB / 0.5613 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3574, allocations: 4 kB / 0.5613 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3574, allocations: 4 kB / 0.5613 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.3575, allocations: 39.97 kB / 0.5614 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004851/0.358, allocations: 311.8 kB / 0.5617 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.3582, allocations: 58.56 kB / 0.5617 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.915e-05/0.3582, allocations: 24.84 kB / 0.5617 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.3583, allocations: 4 kB / 0.5618 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.3583, allocations: 34.55 kB / 0.5618 GB, free: 3.293 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.3583, allocations: 0 / 0.5618 GB, free: 3.293 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001156/0.3595, allocations: 349.3 kB / 0.5621 GB, free: 2.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.3595, allocations: 55.41 kB / 0.5622 GB, free: 2.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.3598, allocations: 239.5 kB / 0.5624 GB, free: 2.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.3598, allocations: 29.7 kB / 0.5624 GB, free: 2.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.162e-05/0.3599, allocations: 112.1 kB / 0.5625 GB, free: 2.477 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.88e-05/0.36, allocations: 43.58 kB / 0.5626 GB, free: 2.434 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.414e-05/0.36, allocations: 29.7 kB / 0.5626 GB, free: 2.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3602, allocations: 330.8 kB / 0.5629 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.3603, allocations: 43.97 kB / 0.563 GB, free: 2.023 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.3604, allocations: 47.97 kB / 0.563 GB, free: 1.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.3606, allocations: 104.8 kB / 0.5631 GB, free: 1.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3606, allocations: 4 kB / 0.5631 GB, free: 1.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000299/0.3609, allocations: 157.3 kB / 0.5633 GB, free: 1.711 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3609, allocations: 7.938 kB / 0.5633 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3609, allocations: 3.938 kB / 0.5633 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.3609, allocations: 4 kB / 0.5633 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.3611, allocations: 31.97 kB / 0.5633 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.3611, allocations: 0 / 0.5633 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.025e-05/0.3611, allocations: 7.984 kB / 0.5633 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.3612, allocations: 8 kB / 0.5633 GB, free: 1.648 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.0001306/0.3613, allocations: 137.8 kB / 0.5635 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.3613, allocations: 19.84 kB / 0.5635 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004075/0.3617, allocations: 191.5 kB / 0.5637 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3617, allocations: 0 / 0.5637 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3617, allocations: 4 kB / 0.5637 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3617, allocations: 0 / 0.5637 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000707/0.3624, allocations: 462.2 kB / 0.5641 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3625, allocations: 0 / 0.5641 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.643e-05/0.3625, allocations: 23.98 kB / 0.5641 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3625, allocations: 0 / 0.5641 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.3626, allocations: 11.98 kB / 0.5641 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3626, allocations: 0 / 0.5641 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3626, allocations: 32 / 0.5641 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003827/0.363, allocations: 264.1 kB / 0.5644 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.829e-05/0.363, allocations: 11.91 kB / 0.5644 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.363, allocations: 4 kB / 0.5644 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.686e-05/0.3631, allocations: 11.98 kB / 0.5644 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.3631, allocations: 7.984 kB / 0.5644 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.3631, allocations: 4 kB / 0.5644 GB, free: 440 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000176/0.3633, allocations: 185.1 kB / 0.5646 GB, free: 256 kB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3633, allocations: 0 / 0.5646 GB, free: 256 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.3636, allocations: 31.88 kB / 0.5646 GB, free: 224 kB / 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.002464/0.366, allocations: 1.181 MB / 0.5658 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002984/0.3663, allocations: 111.9 kB / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3663, allocations: 0 / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.3665, allocations: 55.97 kB / 0.5659 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.3669, allocations: 31.61 kB / 0.566 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002526/0.3694, allocations: 1.917 MB / 0.5678 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.3695, allocations: 108.9 kB / 0.568 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.113e-05/0.3696, allocations: 40.39 kB / 0.568 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.478e-05/0.3697, allocations: 43.42 kB / 0.568 GB, free: 12.82 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3697, allocations: 4 kB / 0.568 GB, free: 12.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.3942, allocations: 3.858 MB / 0.5718 GB, free: 9.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.83, allocations: 10.22 kB / 0.5718 GB, free: 9.016 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.019805941032246]