Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001299/0.001299, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001387/0.001387, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.45/1.45, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.2256/0.2256, allocations: 44.91 MB / 359.6 MB, free: 6.281 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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",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.002085/0.002085, allocations: 67.91 kB / 0.4939 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3427, allocations: 65.47 MB / 0.5578 GB, free: 7.715 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003332/0.346, allocations: 1.694 MB / 0.5595 GB, free: 6.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.3472, allocations: 0.5971 MB / 0.5601 GB, free: 5.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.862e-05/0.3473, allocations: 4 kB / 0.5601 GB, free: 5.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006093/0.3479, allocations: 459.1 kB / 0.5605 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004976/0.3484, allocations: 299.3 kB / 0.5608 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004849/0.3488, allocations: 171.3 kB / 0.5609 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.3491, allocations: 183.6 kB / 0.5611 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.3493, allocations: 18.33 kB / 0.5611 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.3494, allocations: 111.7 kB / 0.5612 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003476/0.3498, allocations: 247.5 kB / 0.5615 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.3498, allocations: 4 kB / 0.5615 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.3499, allocations: 59.89 kB / 0.5615 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.35, allocations: 87.64 kB / 0.5616 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.569e-05/0.3501, allocations: 107 kB / 0.5617 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003758/0.3505, allocations: 290.5 kB / 0.562 GB, free: 3.629 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3505, allocations: 0 / 0.562 GB, free: 3.629 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3505, allocations: 0 / 0.562 GB, free: 3.629 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.3505, allocations: 0 / 0.562 GB, free: 3.629 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007834/0.3513, allocations: 0.5997 MB / 0.5626 GB, free: 3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.3513, allocations: 8.031 kB / 0.5626 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.564e-05/0.3513, allocations: 4.188 kB / 0.5626 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.554e-05/0.3514, allocations: 46.62 kB / 0.5626 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.877e-05/0.3515, allocations: 48.66 kB / 0.5627 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.3518, allocations: 242.8 kB / 0.5629 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.3518, allocations: 4.375 kB / 0.5629 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.3518, allocations: 8.125 kB / 0.5629 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.352, allocations: 57.67 kB / 0.563 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.352, allocations: 3.984 kB / 0.563 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.352, allocations: 7.938 kB / 0.563 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.352, allocations: 0 / 0.563 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.3521, allocations: 35.98 kB / 0.563 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006316/0.3527, allocations: 383.7 kB / 0.5634 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.3529, allocations: 50.58 kB / 0.5634 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.31e-05/0.3529, allocations: 20.94 kB / 0.5635 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.3529, allocations: 0 / 0.5635 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.353, allocations: 34.56 kB / 0.5635 GB, free: 1.961 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.353, allocations: 0 / 0.5635 GB, free: 1.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001053/0.354, allocations: 332.4 kB / 0.5638 GB, free: 1.629 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.3541, allocations: 59.39 kB / 0.5639 GB, free: 1.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.3551, allocations: 0.8738 MB / 0.5647 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.483e-05/0.3552, allocations: 25.7 kB / 0.5648 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000278/0.3555, allocations: 224.1 kB / 0.565 GB, free: 428 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.13e-05/0.3555, allocations: 35.67 kB / 0.565 GB, free: 392 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.475e-05/0.3556, allocations: 17.72 kB / 0.565 GB, free: 368 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002773/0.3559, allocations: 366.8 kB / 0.5654 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.356, allocations: 35.97 kB / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.3561, allocations: 31.97 kB / 0.5654 GB, free: 15.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.3563, allocations: 77.05 kB / 0.5655 GB, free: 15.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3563, allocations: 0 / 0.5655 GB, free: 15.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003431/0.3566, allocations: 149.3 kB / 0.5656 GB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/0.3567, allocations: 8 kB / 0.5657 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.3567, allocations: 0 / 0.5657 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/0.3567, allocations: 7.938 kB / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.3569, allocations: 19.92 kB / 0.5657 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.3569, allocations: 4 kB / 0.5657 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.385e-05/0.3569, allocations: 4 kB / 0.5657 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.3569, allocations: 3.938 kB / 0.5657 GB, free: 15.65 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 (8): * Single equations (assignments): 8 * 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.0002718/0.3572, allocations: 213.8 kB / 0.5659 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.775e-05/0.3573, allocations: 43.72 kB / 0.5659 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004502/0.3577, allocations: 177.5 kB / 0.5661 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.3578, allocations: 7.875 kB / 0.5661 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.3578, allocations: 0 / 0.5661 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.3578, allocations: 3.984 kB / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009143/0.3587, allocations: 0.4982 MB / 0.5666 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.3587, allocations: 4 kB / 0.5666 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.584e-05/0.3588, allocations: 20.02 kB / 0.5666 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.3588, allocations: 4 kB / 0.5666 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.3588, allocations: 0 / 0.5666 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3588, allocations: 0 / 0.5666 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.3588, allocations: 0 / 0.5666 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003852/0.3592, allocations: 259.9 kB / 0.5669 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.866e-05/0.3592, allocations: 43.67 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.3593, allocations: 0 / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.233e-05/0.3594, allocations: 11.92 kB / 0.5669 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.3594, allocations: 11.98 kB / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.3594, allocations: 4 kB / 0.5669 GB, free: 14.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007493/0.3602, allocations: 0.655 MB / 0.5676 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3602, allocations: 0 / 0.5676 GB, free: 13.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002968/0.3605, allocations: 31.98 kB / 0.5676 GB, free: 13.58 MB / 414.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 (8): * Single equations (assignments): 8 * 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.002324/0.3628, allocations: 1.145 MB / 0.5687 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002928/0.3631, allocations: 71.95 kB / 0.5688 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3631, allocations: 0 / 0.5688 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.3632, allocations: 35.92 kB / 0.5688 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/0.3637, allocations: 28.95 kB / 0.5689 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004434/0.3681, allocations: 3.4 MB / 0.5722 GB, free: 8.961 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005613/0.3687, allocations: 0.8304 MB / 0.573 GB, free: 8.105 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.3688, allocations: 32.7 kB / 0.573 GB, free: 8.074 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.3689, allocations: 115.4 kB / 0.5731 GB, free: 7.961 MB / 414.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3689, allocations: 0 / 0.5731 GB, free: 7.961 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02735/0.3963, allocations: 6.684 MB / 0.5797 GB, free: 1.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.26, allocations: 9.438 kB / 0.5797 GB, free: 1.355 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.31302477302961]