Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001342/0.001342, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001714/0.001714, allocations: 215.8 kB / 23.73 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.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2928/0.2928, allocations: 44.93 MB / 358.8 MB, free: 6.074 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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",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.002475/0.002475, allocations: 68.12 kB / 0.493 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3619, allocations: 65.48 MB / 0.557 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003496/0.3654, allocations: 1.593 MB / 0.5585 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002258/0.3676, allocations: 1.24 MB / 0.5597 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.264e-05/0.3677, allocations: 0 / 0.5597 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.368, allocations: 31.83 kB / 0.5598 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003834/0.3684, allocations: 79.64 kB / 0.5599 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.3688, allocations: 115.4 kB / 0.56 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.3689, allocations: 75.75 kB / 0.56 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.369, allocations: 9.828 kB / 0.56 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.286e-05/0.3691, allocations: 23.92 kB / 0.5601 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.3692, allocations: 31.84 kB / 0.5601 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.3693, allocations: 7.938 kB / 0.5601 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.3694, allocations: 87.94 kB / 0.5602 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.694e-05/0.3695, allocations: 15.92 kB / 0.5602 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.006e-05/0.3695, allocations: 19.88 kB / 0.5602 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.3698, allocations: 147.5 kB / 0.5604 GB, free: 4.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3698, allocations: 4 kB / 0.5604 GB, free: 4.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3698, allocations: 0 / 0.5604 GB, free: 4.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.3698, allocations: 3.938 kB / 0.5604 GB, free: 4.066 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.0005341/0.3704, allocations: 325.7 kB / 0.5607 GB, free: 3.719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.3704, allocations: 12.03 kB / 0.5607 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.428e-05/0.3705, allocations: 30.75 kB / 0.5607 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.3705, allocations: 8.891 kB / 0.5607 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.3707, allocations: 136.8 kB / 0.5609 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.3707, allocations: 8.375 kB / 0.5609 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.3707, allocations: 4.375 kB / 0.5609 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.3709, allocations: 101 kB / 0.561 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.371, allocations: 0 / 0.561 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.371, allocations: 4 kB / 0.561 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.371, allocations: 0 / 0.561 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.629e-05/0.3711, allocations: 19.98 kB / 0.561 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.3715, allocations: 248 kB / 0.5612 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.3718, allocations: 46.5 kB / 0.5613 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.415e-05/0.3718, allocations: 16.94 kB / 0.5613 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.3718, allocations: 8 kB / 0.5613 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.3719, allocations: 30.56 kB / 0.5613 GB, free: 2.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3719, allocations: 0 / 0.5613 GB, free: 2.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006614/0.3725, allocations: 157.4 kB / 0.5615 GB, free: 2.785 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/0.3726, allocations: 81.11 kB / 0.5616 GB, free: 2.688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.3728, allocations: 148 kB / 0.5617 GB, free: 2.535 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.3728, allocations: 25.7 kB / 0.5617 GB, free: 2.504 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.97e-05/0.3729, allocations: 104 kB / 0.5618 GB, free: 2.398 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.3729, allocations: 19.84 kB / 0.5618 GB, free: 2.379 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.373, allocations: 17.72 kB / 0.5619 GB, free: 2.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3731, allocations: 322.8 kB / 0.5622 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.347e-05/0.3732, allocations: 19.98 kB / 0.5622 GB, free: 2.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.939e-05/0.3733, allocations: 63.41 kB / 0.5622 GB, free: 1.938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.3734, allocations: 52.77 kB / 0.5623 GB, free: 1.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3734, allocations: 0 / 0.5623 GB, free: 1.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002146/0.3736, allocations: 89.64 kB / 0.5624 GB, free: 1.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3737, allocations: 4 kB / 0.5624 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3737, allocations: 0 / 0.5624 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3737, allocations: 4 kB / 0.5624 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.965e-05/0.3737, allocations: 11.98 kB / 0.5624 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3737, allocations: 0 / 0.5624 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.167e-05/0.3738, allocations: 12.19 kB / 0.5624 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.3738, allocations: 4 kB / 0.5624 GB, free: 1.754 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.0001099/0.3739, allocations: 129.8 kB / 0.5625 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.374, allocations: 7.953 kB / 0.5625 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.3742, allocations: 90.06 kB / 0.5626 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.3742, allocations: 7.922 kB / 0.5626 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3742, allocations: 0 / 0.5626 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.3742, allocations: 7.938 kB / 0.5626 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005054/0.3747, allocations: 317.6 kB / 0.5629 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3747, allocations: 0 / 0.5629 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.965e-05/0.3748, allocations: 15.98 kB / 0.563 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.3748, allocations: 4 kB / 0.563 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.3748, allocations: 3.938 kB / 0.563 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3748, allocations: 0 / 0.563 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3748, allocations: 0 / 0.563 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.3751, allocations: 179.5 kB / 0.5631 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.94e-05/0.3751, allocations: 11.95 kB / 0.5632 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.3751, allocations: 3.938 kB / 0.5632 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.056e-05/0.3752, allocations: 7.984 kB / 0.5632 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.3752, allocations: 7.938 kB / 0.5632 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.3752, allocations: 4 kB / 0.5632 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.3753, allocations: 117.5 kB / 0.5633 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3753, allocations: 0 / 0.5633 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002928/0.3756, allocations: 39.86 kB / 0.5633 GB, free: 0.7266 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.00234/0.378, allocations: 1.139 MB / 0.5644 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.3782, allocations: 59.83 kB / 0.5645 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3782, allocations: 7.938 kB / 0.5645 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.117e-05/0.3783, allocations: 27.98 kB / 0.5645 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.3786, allocations: 11.98 kB / 0.5645 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.3806, allocations: 1.447 MB / 0.566 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.681e-05/0.3807, allocations: 79.08 kB / 0.566 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.154e-05/0.3808, allocations: 23.98 kB / 0.5661 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.035e-05/0.3809, allocations: 35.41 kB / 0.5661 GB, free: 14 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3809, allocations: 0 / 0.5661 GB, free: 14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03129/0.4121, allocations: 3.852 MB / 0.5698 GB, free: 10.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.77, allocations: 10.66 kB / 0.5699 GB, free: 10.17 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.9042584663257]