Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001327/0.001327, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.00154/0.00154, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.51/1.51, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.2792/0.2792, allocations: 44.93 MB / 359.6 MB, free: 6.047 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.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test33",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.002004/0.002004, allocations: 63.91 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3328, allocations: 65.48 MB / 0.5577 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.003117/0.3359, allocations: 1.597 MB / 0.5593 GB, free: 5.945 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.3379, allocations: 1.224 MB / 0.5605 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.658e-05/0.3379, allocations: 4 kB / 0.5605 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.3382, allocations: 23.8 kB / 0.5605 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003103/0.3385, allocations: 83.69 kB / 0.5606 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.3387, allocations: 91.69 kB / 0.5607 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.3389, allocations: 71.77 kB / 0.5608 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.339, allocations: 5.828 kB / 0.5608 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.165e-05/0.3391, allocations: 35.84 kB / 0.5608 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005673/0.3396, allocations: 27.8 kB / 0.5608 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.3396, allocations: 4 kB / 0.5608 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002768/0.3399, allocations: 95.94 kB / 0.5609 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.704e-05/0.34, allocations: 11.98 kB / 0.5609 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.725e-05/0.34, allocations: 27.86 kB / 0.561 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.3403, allocations: 143.4 kB / 0.5611 GB, free: 4.102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3403, allocations: 0 / 0.5611 GB, free: 4.102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3403, allocations: 0 / 0.5611 GB, free: 4.102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.3403, allocations: 0 / 0.5611 GB, free: 4.102 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.0006474/0.341, allocations: 321.7 kB / 0.5614 GB, free: 3.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.341, allocations: 8.031 kB / 0.5614 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.608e-05/0.341, allocations: 4.188 kB / 0.5614 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.778e-05/0.341, allocations: 38.75 kB / 0.5615 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.3411, allocations: 4.891 kB / 0.5615 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.3413, allocations: 146.3 kB / 0.5616 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.3413, allocations: 384 / 0.5616 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.3413, allocations: 12.06 kB / 0.5616 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.3415, allocations: 93.03 kB / 0.5617 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3415, allocations: 0 / 0.5617 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.3415, allocations: 0 / 0.5617 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3415, allocations: 0 / 0.5617 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.601e-05/0.3416, allocations: 23.98 kB / 0.5617 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.342, allocations: 236 kB / 0.5619 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.3422, allocations: 54.48 kB / 0.562 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.443e-05/0.3423, allocations: 12.86 kB / 0.562 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.3423, allocations: 0 / 0.562 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.3423, allocations: 34.56 kB / 0.562 GB, free: 2.988 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.3423, allocations: 0 / 0.562 GB, free: 2.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005616/0.3429, allocations: 149.5 kB / 0.5622 GB, free: 2.836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.343, allocations: 77.11 kB / 0.5623 GB, free: 2.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.3431, allocations: 149.8 kB / 0.5624 GB, free: 2.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3431, allocations: 25.7 kB / 0.5624 GB, free: 2.555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.178e-05/0.3432, allocations: 104 kB / 0.5625 GB, free: 2.449 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.3432, allocations: 15.86 kB / 0.5625 GB, free: 2.434 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/0.3433, allocations: 17.72 kB / 0.5626 GB, free: 2.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3434, allocations: 318.8 kB / 0.5629 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.882e-05/0.3435, allocations: 19.98 kB / 0.5629 GB, free: 2.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.817e-05/0.3436, allocations: 59.34 kB / 0.5629 GB, free: 2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.3437, allocations: 48.86 kB / 0.563 GB, free: 1.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3437, allocations: 0 / 0.563 GB, free: 1.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001901/0.3439, allocations: 81.88 kB / 0.5631 GB, free: 1.863 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.3439, allocations: 4 kB / 0.5631 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.3439, allocations: 7.984 kB / 0.5631 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3439, allocations: 4 kB / 0.5631 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.184e-05/0.344, allocations: 8 kB / 0.5631 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.344, allocations: 0 / 0.5631 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.313e-05/0.344, allocations: 11.92 kB / 0.5631 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.344, allocations: 4 kB / 0.5631 GB, free: 1.824 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.0001001/0.3441, allocations: 121.8 kB / 0.5632 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.3442, allocations: 3.953 kB / 0.5632 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.3444, allocations: 90.06 kB / 0.5633 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.3444, allocations: 3.938 kB / 0.5633 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3444, allocations: 4 kB / 0.5633 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.3444, allocations: 7.922 kB / 0.5633 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005021/0.3449, allocations: 309.6 kB / 0.5636 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3449, allocations: 0 / 0.5636 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.741e-05/0.345, allocations: 11.98 kB / 0.5636 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.345, allocations: 0 / 0.5636 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.345, allocations: 11.94 kB / 0.5636 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.345, allocations: 0 / 0.5636 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.345, allocations: 0 / 0.5636 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.3453, allocations: 179.4 kB / 0.5638 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.575e-05/0.3453, allocations: 7.953 kB / 0.5638 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.3453, allocations: 7.938 kB / 0.5638 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.636e-05/0.3454, allocations: 8.172 kB / 0.5638 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.3454, allocations: 0 / 0.5638 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.3454, allocations: 8 kB / 0.5638 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.3456, allocations: 117.8 kB / 0.564 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3456, allocations: 0 / 0.564 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003009/0.3459, allocations: 43.86 kB / 0.564 GB, free: 0.8164 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.002381/0.3482, allocations: 1.138 MB / 0.5651 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002343/0.3485, allocations: 51.91 kB / 0.5652 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3485, allocations: 0 / 0.5652 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.604e-05/0.3485, allocations: 23.98 kB / 0.5652 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.349, allocations: 15.98 kB / 0.5652 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.3507, allocations: 1.436 MB / 0.5666 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.729e-05/0.3508, allocations: 83.02 kB / 0.5667 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.799e-05/0.3509, allocations: 12 kB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.394e-05/0.3509, allocations: 31.36 kB / 0.5667 GB, free: 14.13 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3509, allocations: 0 / 0.5667 GB, free: 14.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.3754, allocations: 3.493 MB / 0.5701 GB, free: 10.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.88, allocations: 7.938 kB / 0.5701 GB, free: 10.68 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test33_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.08562038501259]