Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001356/0.001356, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.001439/0.001439, allocations: 206.5 kB / 23.73 MB, free: 4.402 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.422/1.422, 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.2316/0.2316, allocations: 46.95 MB / 360.9 MB, free: 4.039 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.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 59.91 kB / 0.4961 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3425, allocations: 66.05 MB / 0.5606 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003332/0.3459, allocations: 1.659 MB / 0.5622 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.3471, allocations: 0.5699 MB / 0.5628 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.34e-05/0.3471, allocations: 0 / 0.5628 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006257/0.3477, allocations: 459.1 kB / 0.5632 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005101/0.3482, allocations: 291.3 kB / 0.5635 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004786/0.3487, allocations: 175.2 kB / 0.5637 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002657/0.349, allocations: 179.6 kB / 0.5638 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.3491, allocations: 14.05 kB / 0.5639 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.3492, allocations: 123.7 kB / 0.564 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.3495, allocations: 243.5 kB / 0.5642 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.3495, allocations: 4 kB / 0.5642 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.3497, allocations: 59.97 kB / 0.5643 GB, free: 468 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.3498, allocations: 87.62 kB / 0.5644 GB, free: 380 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.181e-05/0.3499, allocations: 67.25 kB / 0.5644 GB, free: 312 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003749/0.3502, allocations: 298.4 kB / 0.5647 GB, free: 12 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3502, allocations: 4 kB / 0.5647 GB, free: 8 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3502, allocations: 0 / 0.5647 GB, free: 8 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.3502, allocations: 0 / 0.5647 GB, free: 8 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008298/0.3511, allocations: 0.5931 MB / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.3511, allocations: 12.03 kB / 0.5653 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.119e-05/0.3512, allocations: 38.73 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.239e-05/0.3512, allocations: 44.66 kB / 0.5654 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.3515, allocations: 246.7 kB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.3515, allocations: 4.375 kB / 0.5656 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.3516, allocations: 4.375 kB / 0.5656 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.3517, allocations: 69.61 kB / 0.5657 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.3518, allocations: 0 / 0.5657 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.3518, allocations: 0 / 0.5657 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3518, allocations: 0 / 0.5657 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.3519, allocations: 39.91 kB / 0.5657 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005822/0.3525, allocations: 371.8 kB / 0.5661 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.3526, allocations: 54.58 kB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.3526, allocations: 20.73 kB / 0.5662 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.3527, allocations: 4 kB / 0.5662 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.3527, allocations: 38.56 kB / 0.5662 GB, free: 14.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.011e-06/0.3527, allocations: 0 / 0.5662 GB, free: 14.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001028/0.3537, allocations: 332.5 kB / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.3538, allocations: 59.34 kB / 0.5666 GB, free: 13.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009563/0.3547, allocations: 0.8738 MB / 0.5674 GB, free: 13.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.3548, allocations: 29.7 kB / 0.5675 GB, free: 13.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.355, allocations: 220.1 kB / 0.5677 GB, free: 12.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.355, allocations: 31.73 kB / 0.5677 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.355, allocations: 21.72 kB / 0.5677 GB, free: 12.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.3553, allocations: 366.8 kB / 0.5681 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.79e-05/0.3554, allocations: 27.97 kB / 0.5681 GB, free: 12.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.015e-05/0.3554, allocations: 27.98 kB / 0.5681 GB, free: 12.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.3556, allocations: 88.73 kB / 0.5682 GB, free: 12.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3556, allocations: 0 / 0.5682 GB, free: 12.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002672/0.3559, allocations: 145.6 kB / 0.5683 GB, free: 12.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.3559, allocations: 10.5 kB / 0.5683 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3559, allocations: 80 / 0.5683 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3559, allocations: 0 / 0.5683 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.356, allocations: 19.92 kB / 0.5684 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.3561, allocations: 7.984 kB / 0.5684 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.254e-05/0.3561, allocations: 8 kB / 0.5684 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.3562, allocations: 7.984 kB / 0.5684 GB, free: 12.04 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.000213/0.3564, allocations: 217.7 kB / 0.5686 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.4e-05/0.3564, allocations: 39.72 kB / 0.5686 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003793/0.3568, allocations: 173.5 kB / 0.5688 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3568, allocations: 3.938 kB / 0.5688 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3568, allocations: 0 / 0.5688 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3568, allocations: 3.984 kB / 0.5688 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007411/0.3576, allocations: 0.4904 MB / 0.5693 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3576, allocations: 0 / 0.5693 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.868e-05/0.3576, allocations: 19.92 kB / 0.5693 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3577, allocations: 4 kB / 0.5693 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.3577, allocations: 0 / 0.5693 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3577, allocations: 3.938 kB / 0.5693 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.3577, allocations: 8 kB / 0.5693 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/0.358, allocations: 256 kB / 0.5696 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.887e-05/0.3581, allocations: 43.67 kB / 0.5696 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.3581, allocations: 3.984 kB / 0.5696 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.301e-05/0.3582, allocations: 4 kB / 0.5696 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.3582, allocations: 7.984 kB / 0.5696 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.3582, allocations: 7.875 kB / 0.5696 GB, free: 10.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007095/0.359, allocations: 0.6667 MB / 0.5703 GB, free: 10 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.359, allocations: 0 / 0.5703 GB, free: 10 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.3592, allocations: 20 kB / 0.5703 GB, free: 9.984 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.002348/0.3616, allocations: 1.17 MB / 0.5714 GB, free: 9.004 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002651/0.3618, allocations: 79.88 kB / 0.5715 GB, free: 8.926 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3618, allocations: 4 kB / 0.5715 GB, free: 8.922 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.362, allocations: 43.91 kB / 0.5716 GB, free: 8.879 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.3624, allocations: 27.88 kB / 0.5716 GB, free: 8.855 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004356/0.3668, allocations: 3.392 MB / 0.5749 GB, free: 5.363 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.367, allocations: 236.1 kB / 0.5751 GB, free: 5.117 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.92e-05/0.3671, allocations: 16.73 kB / 0.5751 GB, free: 5.102 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.3673, allocations: 123.4 kB / 0.5753 GB, free: 4.98 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3673, allocations: 0 / 0.5753 GB, free: 4.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03534/0.4026, allocations: 6.981 MB / 0.5821 GB, free: 14.04 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.58, allocations: 4.734 kB / 0.5821 GB, free: 14.04 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 14.56923726061359]