Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001819/0.001819, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002083/0.002083, allocations: 209.3 kB / 23.73 MB, free: 4.523 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.499/1.499, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2326/0.2326, allocations: 46.96 MB / 360.9 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 71.83 kB / 0.4961 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3302, allocations: 66.03 MB / 0.5606 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003642/0.3339, allocations: 2.012 MB / 0.5626 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.3361, allocations: 1.248 MB / 0.5638 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.3362, allocations: 7.938 kB / 0.5638 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002164/0.3364, allocations: 51.52 kB / 0.5638 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004846/0.3369, allocations: 223 kB / 0.5641 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009346/0.3379, allocations: 454 kB / 0.5645 GB, free: 244 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004265/0.3383, allocations: 338.9 kB / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.3384, allocations: 48.91 kB / 0.5649 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/0.3387, allocations: 147.4 kB / 0.565 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.339, allocations: 219.2 kB / 0.5652 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.456e-05/0.339, allocations: 12 kB / 0.5652 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.3392, allocations: 63.98 kB / 0.5653 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.3393, allocations: 155.4 kB / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.3395, allocations: 138.9 kB / 0.5656 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000494/0.34, allocations: 439.8 kB / 0.566 GB, free: 14.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.34, allocations: 0 / 0.566 GB, free: 14.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.34, allocations: 0 / 0.566 GB, free: 14.7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.34, allocations: 0 / 0.566 GB, free: 14.7 MB / 414.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.001157/0.3411, allocations: 0.7718 MB / 0.5667 GB, free: 13.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3412, allocations: 11.97 kB / 0.5668 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.722e-05/0.3412, allocations: 46.67 kB / 0.5668 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004275/0.3416, allocations: 100.5 kB / 0.5669 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007315/0.3424, allocations: 427.2 kB / 0.5673 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.3424, allocations: 8.375 kB / 0.5673 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.893e-05/0.3424, allocations: 19.92 kB / 0.5673 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/0.3428, allocations: 144.9 kB / 0.5675 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.3428, allocations: 0 / 0.5675 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.3428, allocations: 8 kB / 0.5675 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.3428, allocations: 4 kB / 0.5675 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003202/0.3431, allocations: 95.92 kB / 0.5676 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.3443, allocations: 0.6285 MB / 0.5682 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.3446, allocations: 117.2 kB / 0.5683 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.3448, allocations: 61.81 kB / 0.5684 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.3448, allocations: 4 kB / 0.5684 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.162e-05/0.3449, allocations: 34.5 kB / 0.5684 GB, free: 12.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.813e-06/0.3449, allocations: 224 / 0.5684 GB, free: 12.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002279/0.3472, allocations: 0.7105 MB / 0.5691 GB, free: 11.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.3472, allocations: 81.3 kB / 0.5692 GB, free: 11.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.3484, allocations: 0.9259 MB / 0.5701 GB, free: 10.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.3484, allocations: 37.64 kB / 0.5701 GB, free: 10.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/0.3486, allocations: 272.4 kB / 0.5704 GB, free: 10.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.8e-05/0.3487, allocations: 71.33 kB / 0.5704 GB, free: 9.941 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.384e-05/0.3488, allocations: 45.69 kB / 0.5705 GB, free: 9.891 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3489, allocations: 309.9 kB / 0.5708 GB, free: 9.582 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.3492, allocations: 95.92 kB / 0.5709 GB, free: 9.488 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.3495, allocations: 108.5 kB / 0.571 GB, free: 9.379 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006194/0.3501, allocations: 213.5 kB / 0.5712 GB, free: 9.164 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3501, allocations: 0 / 0.5712 GB, free: 9.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007529/0.3509, allocations: 309.1 kB / 0.5715 GB, free: 8.855 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3509, allocations: 4.188 kB / 0.5715 GB, free: 8.852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.3509, allocations: 0 / 0.5715 GB, free: 8.852 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3509, allocations: 7.938 kB / 0.5715 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.3513, allocations: 55.88 kB / 0.5715 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.3513, allocations: 0 / 0.5715 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.3515, allocations: 27.98 kB / 0.5716 GB, free: 8.762 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.3515, allocations: 7.984 kB / 0.5716 GB, free: 8.754 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.0002286/0.3518, allocations: 213.7 kB / 0.5718 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.3519, allocations: 63.58 kB / 0.5718 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008156/0.3527, allocations: 354.5 kB / 0.5722 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.3527, allocations: 7.984 kB / 0.5722 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3527, allocations: 0 / 0.5722 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3527, allocations: 0 / 0.5722 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.3541, allocations: 0.8323 MB / 0.573 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3541, allocations: 4 kB / 0.573 GB, free: 7.223 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.3544, allocations: 55.94 kB / 0.573 GB, free: 7.168 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3544, allocations: 0 / 0.573 GB, free: 7.168 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.3544, allocations: 4 kB / 0.573 GB, free: 7.164 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.3544, allocations: 7.875 kB / 0.5731 GB, free: 7.156 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3544, allocations: 4 kB / 0.5731 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007908/0.3552, allocations: 494.5 kB / 0.5735 GB, free: 6.652 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.3554, allocations: 87.53 kB / 0.5736 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.722e-05/0.3554, allocations: 0 / 0.5736 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.3557, allocations: 23.92 kB / 0.5736 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.505e-05/0.3558, allocations: 23.95 kB / 0.5737 GB, free: 6.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.3558, allocations: 4 kB / 0.5737 GB, free: 6.516 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007695/0.3566, allocations: 0.6825 MB / 0.5743 GB, free: 5.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3566, allocations: 0 / 0.5743 GB, free: 5.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003737/0.3569, allocations: 59.94 kB / 0.5744 GB, free: 5.781 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.002572/0.3595, allocations: 1.336 MB / 0.5757 GB, free: 4.602 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006097/0.3601, allocations: 219.7 kB / 0.5759 GB, free: 4.387 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3601, allocations: 0 / 0.5759 GB, free: 4.387 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002875/0.3604, allocations: 119.9 kB / 0.576 GB, free: 4.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000608/0.361, allocations: 81.78 kB / 0.5761 GB, free: 4.191 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00743/0.3685, allocations: 5.303 MB / 0.5813 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.3688, allocations: 275.2 kB / 0.5815 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002196/0.369, allocations: 87.22 kB / 0.5816 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/0.3693, allocations: 191.4 kB / 0.5818 GB, free: 14.23 MB / 430.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3693, allocations: 0 / 0.5818 GB, free: 14.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0385/0.4078, allocations: 11.31 MB / 0.5928 GB, free: 2.984 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.35, allocations: 10.86 kB / 0.5929 GB, free: 2.977 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 14.56257616498624]