Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001907/0.001907, 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.00236/0.00236, 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.577/1.577, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2321/0.2321, allocations: 44.94 MB / 358.8 MB, free: 6.039 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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.002185/0.002185, allocations: 71.88 kB / 0.493 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3239, allocations: 65.47 MB / 0.557 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003627/0.3275, allocations: 2.03 MB / 0.559 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002572/0.3301, allocations: 1.35 MB / 0.5603 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.3302, allocations: 7.938 kB / 0.5603 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.3305, allocations: 55.52 kB / 0.5603 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000531/0.331, allocations: 223 kB / 0.5606 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.3324, allocations: 0.6259 MB / 0.5612 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004767/0.3329, allocations: 358.8 kB / 0.5615 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.3331, allocations: 52.89 kB / 0.5616 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003207/0.3334, allocations: 147.4 kB / 0.5617 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003097/0.3337, allocations: 215.1 kB / 0.5619 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.231e-05/0.3338, allocations: 16 kB / 0.5619 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.334, allocations: 71.97 kB / 0.562 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001914/0.3341, allocations: 155.4 kB / 0.5621 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.3343, allocations: 138.9 kB / 0.5623 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005495/0.3348, allocations: 447.8 kB / 0.5627 GB, free: 1.676 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3349, allocations: 0 / 0.5627 GB, free: 1.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3349, allocations: 0 / 0.5627 GB, free: 1.676 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.3349, allocations: 0 / 0.5627 GB, free: 1.676 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.001321/0.3362, allocations: 0.795 MB / 0.5635 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.3362, allocations: 12.03 kB / 0.5635 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.205e-05/0.3363, allocations: 38.75 kB / 0.5635 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000493/0.3368, allocations: 96.47 kB / 0.5636 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008527/0.3376, allocations: 439.2 kB / 0.564 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.3376, allocations: 12.31 kB / 0.564 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.075e-05/0.3377, allocations: 19.94 kB / 0.5641 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000384/0.3381, allocations: 164.9 kB / 0.5642 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.3381, allocations: 4 kB / 0.5642 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.3381, allocations: 4 kB / 0.5642 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3381, allocations: 4 kB / 0.5642 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003562/0.3385, allocations: 119.8 kB / 0.5643 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.3397, allocations: 0.6675 MB / 0.565 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003272/0.34, allocations: 129.2 kB / 0.5651 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.3402, allocations: 61.8 kB / 0.5652 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.3402, allocations: 4 kB / 0.5652 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/0.3403, allocations: 46.44 kB / 0.5652 GB, free: 14.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.3403, allocations: 0 / 0.5652 GB, free: 14.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002266/0.3425, allocations: 0.7646 MB / 0.566 GB, free: 14.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.3426, allocations: 81.11 kB / 0.566 GB, free: 14.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.3439, allocations: 0.9299 MB / 0.567 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.344, allocations: 33.69 kB / 0.567 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/0.3443, allocations: 276.4 kB / 0.5673 GB, free: 12.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.978e-05/0.3444, allocations: 79.31 kB / 0.5673 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-05/0.3445, allocations: 33.7 kB / 0.5674 GB, free: 12.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3446, allocations: 321.9 kB / 0.5677 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/0.3449, allocations: 111.9 kB / 0.5678 GB, free: 12.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.3452, allocations: 125.6 kB / 0.5679 GB, free: 12.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006289/0.3459, allocations: 257.6 kB / 0.5681 GB, free: 11.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3459, allocations: 224 / 0.5681 GB, free: 11.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000787/0.3467, allocations: 341 kB / 0.5685 GB, free: 11.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.3467, allocations: 7.938 kB / 0.5685 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3467, allocations: 4.75 kB / 0.5685 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.3467, allocations: 4 kB / 0.5685 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.347, allocations: 55.89 kB / 0.5685 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.347, allocations: 7.984 kB / 0.5685 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.3472, allocations: 15.98 kB / 0.5686 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.3472, allocations: 11.98 kB / 0.5686 GB, free: 11.41 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.0002759/0.3475, allocations: 221.7 kB / 0.5688 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.3476, allocations: 71.58 kB / 0.5688 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009548/0.3486, allocations: 402.8 kB / 0.5692 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.034e-06/0.3486, allocations: 4 kB / 0.5692 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3486, allocations: 96 / 0.5692 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.3486, allocations: 3.938 kB / 0.5692 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.3504, allocations: 0.8986 MB / 0.5701 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3504, allocations: 0 / 0.5701 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.3506, allocations: 55.95 kB / 0.5702 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.3506, allocations: 0 / 0.5702 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.3506, allocations: 11.98 kB / 0.5702 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.3506, allocations: 3.938 kB / 0.5702 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3506, allocations: 0 / 0.5702 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008582/0.3515, allocations: 0.5126 MB / 0.5707 GB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.3517, allocations: 87.53 kB / 0.5708 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.788e-05/0.3517, allocations: 8 kB / 0.5708 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.352, allocations: 23.92 kB / 0.5708 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.544e-05/0.3521, allocations: 23.95 kB / 0.5708 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.3521, allocations: 4 kB / 0.5708 GB, free: 9.016 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008584/0.353, allocations: 0.6786 MB / 0.5715 GB, free: 8.344 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.353, allocations: 0 / 0.5715 GB, free: 8.344 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003991/0.3534, allocations: 64 kB / 0.5716 GB, free: 8.281 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.002805/0.3562, allocations: 1.393 MB / 0.5729 GB, free: 7.043 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007081/0.3569, allocations: 255.6 kB / 0.5732 GB, free: 6.793 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3569, allocations: 0 / 0.5732 GB, free: 6.793 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003263/0.3572, allocations: 132.4 kB / 0.5733 GB, free: 6.664 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006371/0.3578, allocations: 82.55 kB / 0.5734 GB, free: 6.582 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007725/0.3656, allocations: 5.502 MB / 0.5787 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.3659, allocations: 295 kB / 0.579 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002776/0.3662, allocations: 111.1 kB / 0.5791 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/0.3664, allocations: 191.4 kB / 0.5793 GB, free: 392 kB / 414.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3664, allocations: 0 / 0.5793 GB, free: 392 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04211/0.4086, allocations: 11.54 MB / 0.5906 GB, free: 4.914 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.02, allocations: 0 / 0.5906 GB, free: 4.914 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.320040544960648]