Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.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.001411/0.001411, allocations: 115.6 kB / 20.43 MB, free: 1.309 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.001436/0.001436, allocations: 212.9 kB / 23.74 MB, free: 4.535 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.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 7.965 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.2595/0.2595, allocations: 44.91 MB / 358.8 MB, free: 6.242 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.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",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.002275/0.002275, allocations: 67.89 kB / 0.4931 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.4014, allocations: 65.47 MB / 0.557 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003865/0.4053, allocations: 2.11 MB / 0.5591 GB, free: 5.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002317/0.4076, allocations: 1.33 MB / 0.5604 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.4077, allocations: 0 / 0.5604 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002436/0.408, allocations: 55.52 kB / 0.5605 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005579/0.4085, allocations: 223 kB / 0.5607 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.4096, allocations: 453.8 kB / 0.5611 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004626/0.4101, allocations: 327 kB / 0.5614 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.4103, allocations: 52.88 kB / 0.5615 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002794/0.4105, allocations: 155.3 kB / 0.5616 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003144/0.4109, allocations: 207.2 kB / 0.5618 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.663e-05/0.4109, allocations: 16 kB / 0.5618 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.4111, allocations: 75.95 kB / 0.5619 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001971/0.4113, allocations: 147.5 kB / 0.562 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.4114, allocations: 178.6 kB / 0.5622 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005346/0.412, allocations: 435.8 kB / 0.5626 GB, free: 1.992 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.412, allocations: 0 / 0.5626 GB, free: 1.992 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.412, allocations: 0 / 0.5626 GB, free: 1.992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.412, allocations: 0 / 0.5626 GB, free: 1.992 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001202/0.4132, allocations: 0.7756 MB / 0.5634 GB, free: 1.184 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.4132, allocations: 12.03 kB / 0.5634 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.927e-05/0.4133, allocations: 42.73 kB / 0.5634 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004223/0.4137, allocations: 100.4 kB / 0.5635 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007463/0.4145, allocations: 431.1 kB / 0.5639 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.4145, allocations: 8.375 kB / 0.5639 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.4145, allocations: 15.94 kB / 0.564 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.4148, allocations: 147 kB / 0.5641 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.4148, allocations: 0 / 0.5641 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.4149, allocations: 4 kB / 0.5641 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.4149, allocations: 0 / 0.5641 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.4152, allocations: 103.9 kB / 0.5642 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.4163, allocations: 0.6637 MB / 0.5649 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.4166, allocations: 121.1 kB / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.4167, allocations: 61.8 kB / 0.565 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.4168, allocations: 4 kB / 0.565 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.4168, allocations: 34.5 kB / 0.5651 GB, free: 15.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.4168, allocations: 0 / 0.5651 GB, free: 15.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002065/0.4189, allocations: 0.7066 MB / 0.5658 GB, free: 14.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/0.4189, allocations: 85.11 kB / 0.5658 GB, free: 14.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.4201, allocations: 0.9181 MB / 0.5667 GB, free: 13.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.4201, allocations: 33.7 kB / 0.5668 GB, free: 13.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/0.4203, allocations: 272.4 kB / 0.567 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.62e-05/0.4204, allocations: 79.3 kB / 0.5671 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.515e-05/0.4205, allocations: 41.7 kB / 0.5671 GB, free: 13.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.4207, allocations: 317.9 kB / 0.5674 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.4209, allocations: 87.94 kB / 0.5675 GB, free: 12.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/0.4212, allocations: 112.1 kB / 0.5676 GB, free: 12.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005384/0.4218, allocations: 213.7 kB / 0.5678 GB, free: 12.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4218, allocations: 0 / 0.5678 GB, free: 12.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007074/0.4225, allocations: 317 kB / 0.5681 GB, free: 12.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.4225, allocations: 8 kB / 0.5681 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4225, allocations: 0 / 0.5681 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.4225, allocations: 0 / 0.5681 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/0.4228, allocations: 51.95 kB / 0.5682 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4228, allocations: 0 / 0.5682 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.423, allocations: 27.91 kB / 0.5682 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.423, allocations: 8 kB / 0.5682 GB, free: 12.01 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.0002444/0.4232, allocations: 217.7 kB / 0.5684 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.4234, allocations: 59.58 kB / 0.5685 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008353/0.4242, allocations: 358.7 kB / 0.5688 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.4242, allocations: 8 kB / 0.5688 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.4242, allocations: 0 / 0.5688 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4242, allocations: 0 / 0.5688 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.4257, allocations: 0.8751 MB / 0.5697 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4257, allocations: 4 kB / 0.5697 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.4259, allocations: 51.89 kB / 0.5698 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.4259, allocations: 4 kB / 0.5698 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.426, allocations: 7.984 kB / 0.5698 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.426, allocations: 7.938 kB / 0.5698 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.426, allocations: 0 / 0.5698 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007753/0.4267, allocations: 482.3 kB / 0.5702 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.4269, allocations: 83.48 kB / 0.5703 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.302e-05/0.427, allocations: 4 kB / 0.5703 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002685/0.4272, allocations: 27.91 kB / 0.5703 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.448e-05/0.4273, allocations: 19.97 kB / 0.5704 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.4273, allocations: 7.984 kB / 0.5704 GB, free: 9.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008253/0.4281, allocations: 0.6786 MB / 0.571 GB, free: 9.059 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4281, allocations: 0 / 0.571 GB, free: 9.059 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003937/0.4285, allocations: 63.94 kB / 0.5711 GB, free: 8.996 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 (20): * Single equations (assignments): 20 * 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.002649/0.4312, allocations: 1.307 MB / 0.5724 GB, free: 7.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007078/0.4319, allocations: 223.7 kB / 0.5726 GB, free: 7.602 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4319, allocations: 0 / 0.5726 GB, free: 7.602 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003114/0.4322, allocations: 116.4 kB / 0.5727 GB, free: 7.488 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006335/0.4328, allocations: 86.62 kB / 0.5728 GB, free: 7.402 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007609/0.4405, allocations: 5.303 MB / 0.578 GB, free: 2.004 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/0.441, allocations: 0.8772 MB / 0.5788 GB, free: 1.102 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002262/0.4412, allocations: 87.2 kB / 0.5789 GB, free: 1.016 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002973/0.4415, allocations: 191.3 kB / 0.5791 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of SimCode: time 1.183e-06/0.4415, allocations: 0 / 0.5791 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04473/0.4862, allocations: 10.7 MB / 0.5895 GB, free: 6.207 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.37, allocations: 8.062 kB / 0.5895 GB, free: 6.199 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.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.620409663999453]