Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.001922/0.001922, 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.002354/0.002354, allocations: 210.9 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.466/1.466, 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.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.2239/0.2239, allocations: 46.96 MB / 360.9 MB, free: 4.035 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.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 72.09 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3294, allocations: 66.03 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003282/0.3327, allocations: 1.61 MB / 0.5622 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.3337, allocations: 0.534 MB / 0.5627 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.619e-05/0.3338, allocations: 3.938 kB / 0.5627 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006114/0.3344, allocations: 451.1 kB / 0.5631 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004917/0.3349, allocations: 299.2 kB / 0.5634 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004159/0.3353, allocations: 166.9 kB / 0.5636 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.3356, allocations: 171.6 kB / 0.5637 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3357, allocations: 15.98 kB / 0.5638 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.3358, allocations: 111.7 kB / 0.5639 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000273/0.3361, allocations: 243.5 kB / 0.5641 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.3361, allocations: 4 kB / 0.5641 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.777e-05/0.3361, allocations: 27.98 kB / 0.5641 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.3363, allocations: 88.61 kB / 0.5642 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.164e-05/0.3363, allocations: 67.23 kB / 0.5643 GB, free: 476 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.3366, allocations: 264.4 kB / 0.5645 GB, free: 212 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3366, allocations: 0 / 0.5645 GB, free: 212 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3367, allocations: 0 / 0.5645 GB, free: 212 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3367, allocations: 0 / 0.5645 GB, free: 212 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007997/0.3375, allocations: 0.5799 MB / 0.5651 GB, free: 15.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.3375, allocations: 8.031 kB / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/0.3375, allocations: 30.75 kB / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.475e-05/0.3376, allocations: 48.66 kB / 0.5652 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.3379, allocations: 250.8 kB / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.4e-06/0.3379, allocations: 384 / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.3379, allocations: 6.062 kB / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.3381, allocations: 49.61 kB / 0.5655 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.3381, allocations: 4 kB / 0.5655 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.3381, allocations: 7.938 kB / 0.5655 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.3381, allocations: 0 / 0.5655 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.597e-05/0.3382, allocations: 23.92 kB / 0.5655 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005465/0.3387, allocations: 359.9 kB / 0.5658 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.945e-05/0.3388, allocations: 34.5 kB / 0.5659 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.3389, allocations: 12.92 kB / 0.5659 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.3389, allocations: 0 / 0.5659 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.339, allocations: 38.5 kB / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.339, allocations: 0 / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.00028/0.3392, allocations: 105.4 kB / 0.566 GB, free: 14.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.3393, allocations: 55.41 kB / 0.5661 GB, free: 14.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009235/0.3402, allocations: 0.8778 MB / 0.5669 GB, free: 13.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.3403, allocations: 29.64 kB / 0.567 GB, free: 13.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.3404, allocations: 224.1 kB / 0.5672 GB, free: 13.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.3405, allocations: 15.88 kB / 0.5672 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.3405, allocations: 9.719 kB / 0.5672 GB, free: 13.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.3407, allocations: 366.7 kB / 0.5676 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.823e-05/0.3407, allocations: 11.98 kB / 0.5676 GB, free: 12.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.322e-05/0.3408, allocations: 8 kB / 0.5676 GB, free: 12.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.63e-05/0.3409, allocations: 32.89 kB / 0.5676 GB, free: 12.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3409, allocations: 0 / 0.5676 GB, free: 12.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00017/0.341, allocations: 101.3 kB / 0.5677 GB, free: 12.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.3411, allocations: 4 kB / 0.5677 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3411, allocations: 0 / 0.5677 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.3411, allocations: 4 kB / 0.5677 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.444e-05/0.3411, allocations: 11.92 kB / 0.5677 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.3412, allocations: 0 / 0.5677 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.85e-05/0.3412, allocations: 0 / 0.5677 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.3412, allocations: 4 kB / 0.5677 GB, free: 12.73 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 (2): * Single equations (assignments): 2 * 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.0002046/0.3414, allocations: 217.8 kB / 0.5679 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/0.3415, allocations: 47.64 kB / 0.568 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/0.3417, allocations: 108.8 kB / 0.5681 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3417, allocations: 0 / 0.5681 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.3417, allocations: 4 kB / 0.5681 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3417, allocations: 3.984 kB / 0.5681 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.342, allocations: 248.7 kB / 0.5683 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.342, allocations: 3.938 kB / 0.5683 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.031e-05/0.3421, allocations: 7.969 kB / 0.5683 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3421, allocations: 4 kB / 0.5683 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.3421, allocations: 7.922 kB / 0.5683 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3421, allocations: 4 kB / 0.5684 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3421, allocations: 0 / 0.5684 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.3423, allocations: 187.3 kB / 0.5685 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.186e-05/0.3424, allocations: 43.59 kB / 0.5686 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.3424, allocations: 0 / 0.5686 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.871e-05/0.3425, allocations: 8 kB / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.3425, allocations: 0 / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.3425, allocations: 8.031 kB / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007008/0.3432, allocations: 0.6589 MB / 0.5692 GB, free: 11.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3432, allocations: 0 / 0.5692 GB, free: 11.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.3435, allocations: 19.98 kB / 0.5692 GB, free: 11.09 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 (2): * Single equations (assignments): 2 * 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.00177/0.3452, allocations: 1.002 MB / 0.5702 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001455/0.3454, allocations: 23.92 kB / 0.5703 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3454, allocations: 4 kB / 0.5703 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.385e-05/0.3454, allocations: 15.98 kB / 0.5703 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.3458, allocations: 19.8 kB / 0.5703 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/0.3497, allocations: 3.191 MB / 0.5734 GB, free: 6.879 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.35, allocations: 220.1 kB / 0.5736 GB, free: 6.645 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.028e-05/0.3501, allocations: 23.73 kB / 0.5736 GB, free: 6.621 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.3502, allocations: 115.4 kB / 0.5737 GB, free: 6.508 MB / 414.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3502, allocations: 0 / 0.5737 GB, free: 6.508 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03344/0.3837, allocations: 6.337 MB / 0.5799 GB, free: 224 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.28, allocations: 10.33 kB / 0.5799 GB, free: 216 kB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.289342026022496]