Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001346/0.001346, 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.001399/0.001399, allocations: 214.1 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.567/1.567, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2286/0.2286, 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.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",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.002031/0.002031, allocations: 63.89 kB / 0.4938 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3573, allocations: 65.46 MB / 0.5577 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.00323/0.3606, allocations: 1.599 MB / 0.5593 GB, free: 5.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.3626, allocations: 1.224 MB / 0.5605 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.192e-05/0.3627, allocations: 3.938 kB / 0.5605 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.3629, allocations: 23.8 kB / 0.5605 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003198/0.3633, allocations: 87.61 kB / 0.5606 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.3635, allocations: 99.69 kB / 0.5607 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.3637, allocations: 63.78 kB / 0.5608 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.93e-05/0.3638, allocations: 13.81 kB / 0.5608 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.963e-05/0.3638, allocations: 31.84 kB / 0.5608 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.364, allocations: 27.86 kB / 0.5608 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.364, allocations: 4 kB / 0.5608 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.3641, allocations: 91.94 kB / 0.5609 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.938e-05/0.3642, allocations: 19.86 kB / 0.5609 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.143e-05/0.3642, allocations: 23.86 kB / 0.561 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.3645, allocations: 131.5 kB / 0.5611 GB, free: 4.098 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3645, allocations: 0 / 0.5611 GB, free: 4.098 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3645, allocations: 4 kB / 0.5611 GB, free: 4.094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.3645, allocations: 0 / 0.5611 GB, free: 4.094 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.0005008/0.365, allocations: 329.7 kB / 0.5614 GB, free: 3.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3651, allocations: 8.031 kB / 0.5614 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.726e-05/0.3651, allocations: 192 / 0.5614 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.3651, allocations: 42.69 kB / 0.5614 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.3651, allocations: 8.891 kB / 0.5615 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.3654, allocations: 138.3 kB / 0.5616 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.3654, allocations: 384 / 0.5616 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.3655, allocations: 12.12 kB / 0.5616 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.3657, allocations: 93.09 kB / 0.5617 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3657, allocations: 0 / 0.5617 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.3657, allocations: 0 / 0.5617 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3657, allocations: 0 / 0.5617 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.206e-05/0.3658, allocations: 27.92 kB / 0.5617 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.3662, allocations: 244 kB / 0.5619 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.3664, allocations: 38.56 kB / 0.562 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.026e-05/0.3664, allocations: 12.94 kB / 0.562 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.3664, allocations: 4 kB / 0.562 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.3665, allocations: 42.5 kB / 0.562 GB, free: 2.969 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.3665, allocations: 0 / 0.562 GB, free: 2.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007318/0.3672, allocations: 145.4 kB / 0.5622 GB, free: 2.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/0.3673, allocations: 81.05 kB / 0.5623 GB, free: 2.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.3674, allocations: 148 kB / 0.5624 GB, free: 2.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.3675, allocations: 25.7 kB / 0.5624 GB, free: 2.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.3675, allocations: 100.1 kB / 0.5625 GB, free: 2.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.3675, allocations: 23.86 kB / 0.5625 GB, free: 2.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.3676, allocations: 13.72 kB / 0.5626 GB, free: 2.395 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3677, allocations: 322.8 kB / 0.5629 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.98e-05/0.3678, allocations: 19.92 kB / 0.5629 GB, free: 2.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.888e-05/0.3679, allocations: 59.41 kB / 0.5629 GB, free: 1.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.368, allocations: 44.83 kB / 0.563 GB, free: 1.934 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.368, allocations: 4 kB / 0.563 GB, free: 1.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002166/0.3682, allocations: 81.59 kB / 0.5631 GB, free: 1.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3683, allocations: 8 kB / 0.5631 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.3683, allocations: 0 / 0.5631 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3683, allocations: 0 / 0.5631 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.747e-05/0.3683, allocations: 11.98 kB / 0.5631 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.3683, allocations: 0 / 0.5631 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.214e-05/0.3684, allocations: 11.92 kB / 0.5631 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.3684, allocations: 4.25 kB / 0.5631 GB, free: 1.809 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 8.926e-05/0.3685, allocations: 117.8 kB / 0.5632 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/0.3685, allocations: 11.95 kB / 0.5632 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/0.3688, allocations: 94 kB / 0.5633 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.3688, allocations: 4 kB / 0.5633 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.3688, allocations: 0 / 0.5633 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.3688, allocations: 3.938 kB / 0.5633 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004314/0.3692, allocations: 305.7 kB / 0.5636 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3692, allocations: 0 / 0.5636 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.049e-05/0.3693, allocations: 19.98 kB / 0.5636 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3693, allocations: 4 kB / 0.5636 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.3693, allocations: 3.938 kB / 0.5636 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3693, allocations: 0 / 0.5636 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3693, allocations: 3.938 kB / 0.5636 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.3695, allocations: 175.5 kB / 0.5638 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.65e-05/0.3696, allocations: 7.953 kB / 0.5638 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.3696, allocations: 7.875 kB / 0.5638 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.806e-05/0.3697, allocations: 7.984 kB / 0.5638 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.3697, allocations: 12 kB / 0.5638 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.279e-06/0.3697, allocations: 0 / 0.5638 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000108/0.3698, allocations: 115.2 kB / 0.564 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3698, allocations: 0 / 0.564 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002895/0.3701, allocations: 35.88 kB / 0.564 GB, free: 0.8047 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.002352/0.3724, allocations: 1.149 MB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.3727, allocations: 43.97 kB / 0.5652 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3727, allocations: 0 / 0.5652 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.605e-05/0.3727, allocations: 31.92 kB / 0.5652 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.3731, allocations: 20.36 kB / 0.5652 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.3749, allocations: 1.421 MB / 0.5666 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.144e-05/0.375, allocations: 83.08 kB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.13e-05/0.375, allocations: 12 kB / 0.5667 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.84e-05/0.3751, allocations: 31.42 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3751, allocations: 0 / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.4, allocations: 3.497 MB / 0.5701 GB, free: 10.67 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.92, allocations: 8.062 kB / 0.5701 GB, free: 10.66 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.167463297955692]