Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.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.001817/0.001817, 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.001518/0.001518, 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.445/1.445, allocations: 230.6 MB / 258.3 MB, free: 7.766 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.2221/0.2221, allocations: 44.93 MB / 359.6 MB, free: 6.055 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.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",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.001951/0.001951, allocations: 67.91 kB / 0.4938 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3237, allocations: 65.47 MB / 0.5577 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.003361/0.3271, allocations: 1.895 MB / 0.5596 GB, free: 5.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.329, allocations: 1.049 MB / 0.5606 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.857e-05/0.3291, allocations: 7.938 kB / 0.5606 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004815/0.3295, allocations: 267.1 kB / 0.5609 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005201/0.3301, allocations: 259.1 kB / 0.5611 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.3315, allocations: 0.6537 MB / 0.5618 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004466/0.3319, allocations: 331 kB / 0.5621 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.3321, allocations: 34.75 kB / 0.5621 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.3323, allocations: 139.4 kB / 0.5622 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002729/0.3325, allocations: 223.2 kB / 0.5624 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.3326, allocations: 12 kB / 0.5625 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.3327, allocations: 55.97 kB / 0.5625 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.3328, allocations: 99.55 kB / 0.5626 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.383e-05/0.3329, allocations: 87.22 kB / 0.5627 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004109/0.3333, allocations: 310.5 kB / 0.563 GB, free: 2.168 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3333, allocations: 4 kB / 0.563 GB, free: 2.164 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3333, allocations: 3.938 kB / 0.563 GB, free: 2.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.3334, allocations: 0 / 0.563 GB, free: 2.16 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008637/0.3342, allocations: 0.601 MB / 0.5636 GB, free: 1.527 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.3343, allocations: 8.031 kB / 0.5636 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.52e-05/0.3343, allocations: 12.19 kB / 0.5636 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.791e-05/0.3343, allocations: 34.75 kB / 0.5636 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.284e-05/0.3344, allocations: 48.61 kB / 0.5637 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.3348, allocations: 272.7 kB / 0.5639 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.3348, allocations: 4.375 kB / 0.5639 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.3348, allocations: 8.125 kB / 0.564 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.335, allocations: 105.6 kB / 0.5641 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3351, allocations: 0 / 0.5641 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.3351, allocations: 0 / 0.5641 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3351, allocations: 0 / 0.5641 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.3353, allocations: 79.89 kB / 0.5641 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007273/0.336, allocations: 431.5 kB / 0.5645 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.3361, allocations: 70.55 kB / 0.5646 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.256e-05/0.3362, allocations: 28.97 kB / 0.5646 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.3362, allocations: 4 kB / 0.5646 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.3363, allocations: 34.55 kB / 0.5647 GB, free: 312 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.3363, allocations: 4 kB / 0.5647 GB, free: 308 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.000407/0.3367, allocations: 161.4 kB / 0.5648 GB, free: 140 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.3367, allocations: 59.41 kB / 0.5649 GB, free: 68 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007375/0.3375, allocations: 0.5957 MB / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.3375, allocations: 25.7 kB / 0.5655 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.3377, allocations: 208 kB / 0.5657 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.3377, allocations: 27.78 kB / 0.5657 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.3377, allocations: 17.66 kB / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.3379, allocations: 358.8 kB / 0.5661 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.177e-05/0.338, allocations: 24.03 kB / 0.5661 GB, free: 14.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.548e-05/0.3381, allocations: 31.98 kB / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.3382, allocations: 72.81 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3382, allocations: 0 / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002436/0.3385, allocations: 133.3 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3385, allocations: 4 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3385, allocations: 0 / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.3385, allocations: 7.922 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.583e-05/0.3386, allocations: 12 kB / 0.5664 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3386, allocations: 0 / 0.5664 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.129e-05/0.3387, allocations: 4 kB / 0.5664 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.577e-06/0.3387, allocations: 3.984 kB / 0.5664 GB, free: 14.52 MB / 414.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 (6): * Single equations (assignments): 6 * 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.0001737/0.3389, allocations: 173.8 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.423e-05/0.3389, allocations: 47.7 kB / 0.5666 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003435/0.3393, allocations: 169 kB / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3393, allocations: 0 / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3393, allocations: 0 / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3393, allocations: 0 / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00033/0.3396, allocations: 264.6 kB / 0.567 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3396, allocations: 0 / 0.567 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.987e-05/0.3397, allocations: 15.94 kB / 0.567 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3397, allocations: 8 kB / 0.567 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.3397, allocations: 8.172 kB / 0.567 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.3397, allocations: 4 kB / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3397, allocations: 0 / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002853/0.34, allocations: 231.2 kB / 0.5672 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.354e-05/0.34, allocations: 39.75 kB / 0.5673 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.3401, allocations: 3.938 kB / 0.5673 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.891e-05/0.3402, allocations: 7.984 kB / 0.5673 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.3402, allocations: 8 kB / 0.5673 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.3402, allocations: 0 / 0.5673 GB, free: 13.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004976/0.3407, allocations: 450.8 kB / 0.5677 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3407, allocations: 0 / 0.5677 GB, free: 13.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002871/0.341, allocations: 43.88 kB / 0.5678 GB, free: 12.99 MB / 414.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 (6): * Single equations (assignments): 6 * 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.003025/0.344, allocations: 1.302 MB / 0.569 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.3442, allocations: 67.89 kB / 0.5691 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3442, allocations: 0 / 0.5691 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.128e-05/0.3443, allocations: 35.98 kB / 0.5691 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005629/0.3449, allocations: 91.59 kB / 0.5692 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003909/0.3488, allocations: 2.965 MB / 0.5721 GB, free: 8.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.349, allocations: 207.1 kB / 0.5723 GB, free: 8.531 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001438/0.3492, allocations: 53.88 kB / 0.5724 GB, free: 8.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.3493, allocations: 115.4 kB / 0.5725 GB, free: 8.367 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3493, allocations: 0 / 0.5725 GB, free: 8.367 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.3774, allocations: 7.363 MB / 0.5797 GB, free: 1.027 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.14, allocations: 8 kB / 0.5797 GB, free: 1.02 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.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.316471262951382]