Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001693/0.001693, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002459/0.002459, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.514/1.514, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2297/0.2297, allocations: 46.96 MB / 360.9 MB, free: 4.008 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.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 63.89 kB / 0.4961 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3424, allocations: 66.04 MB / 0.5606 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003161/0.3455, allocations: 1.637 MB / 0.5622 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.3467, allocations: 0.5582 MB / 0.5628 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.978e-05/0.3468, allocations: 4 kB / 0.5628 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000646/0.3474, allocations: 451.1 kB / 0.5632 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005214/0.3479, allocations: 299.3 kB / 0.5635 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004675/0.3484, allocations: 175.1 kB / 0.5636 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000271/0.3487, allocations: 175.6 kB / 0.5638 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.3488, allocations: 21.78 kB / 0.5638 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.3489, allocations: 103.8 kB / 0.5639 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002907/0.3492, allocations: 255.5 kB / 0.5642 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.3492, allocations: 4 kB / 0.5642 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.274e-05/0.3493, allocations: 35.98 kB / 0.5642 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.3494, allocations: 87.62 kB / 0.5643 GB, free: 424 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.591e-05/0.3495, allocations: 67.25 kB / 0.5644 GB, free: 356 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.3498, allocations: 274.6 kB / 0.5646 GB, free: 80 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3498, allocations: 0 / 0.5646 GB, free: 80 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3498, allocations: 4 kB / 0.5646 GB, free: 76 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3499, allocations: 3.938 kB / 0.5646 GB, free: 72 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007863/0.3506, allocations: 0.5855 MB / 0.5652 GB, free: 15.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3507, allocations: 12.03 kB / 0.5652 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.773e-05/0.3507, allocations: 34.73 kB / 0.5652 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.12e-05/0.3508, allocations: 44.66 kB / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.3511, allocations: 250.8 kB / 0.5655 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.322e-06/0.3511, allocations: 384 / 0.5655 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.3511, allocations: 4.375 kB / 0.5655 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.3513, allocations: 57.61 kB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3513, allocations: 7.938 kB / 0.5656 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.3513, allocations: 4 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3513, allocations: 0 / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.3514, allocations: 31.97 kB / 0.5656 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005298/0.3519, allocations: 363.7 kB / 0.566 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.3521, allocations: 50.48 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.049e-05/0.3522, allocations: 20.8 kB / 0.566 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.3522, allocations: 0 / 0.566 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.3522, allocations: 38.56 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.3522, allocations: 0 / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006712/0.3529, allocations: 244.8 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.3529, allocations: 55.39 kB / 0.5664 GB, free: 14.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009506/0.3539, allocations: 0.8776 MB / 0.5672 GB, free: 13.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3539, allocations: 29.64 kB / 0.5673 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.3541, allocations: 224.1 kB / 0.5675 GB, free: 12.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.3541, allocations: 23.78 kB / 0.5675 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.3542, allocations: 21.72 kB / 0.5675 GB, free: 12.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.3543, allocations: 362.8 kB / 0.5679 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.374e-05/0.3544, allocations: 19.98 kB / 0.5679 GB, free: 12.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.655e-05/0.3545, allocations: 23.98 kB / 0.5679 GB, free: 12.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.3546, allocations: 52.83 kB / 0.568 GB, free: 12.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3546, allocations: 3.938 kB / 0.568 GB, free: 12.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002273/0.3549, allocations: 121.4 kB / 0.5681 GB, free: 12.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3549, allocations: 8 kB / 0.5681 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3549, allocations: 0 / 0.5681 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3549, allocations: 0 / 0.5681 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.433e-05/0.355, allocations: 15.98 kB / 0.5681 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.355, allocations: 4 kB / 0.5681 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.006e-05/0.3551, allocations: 3.938 kB / 0.5681 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.3551, allocations: 4 kB / 0.5681 GB, free: 12.31 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 (5): * Single equations (assignments): 5 * 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.0002036/0.3553, allocations: 213.8 kB / 0.5683 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.614e-05/0.3553, allocations: 47.67 kB / 0.5684 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/0.3556, allocations: 145.2 kB / 0.5685 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.3556, allocations: 4 kB / 0.5685 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3556, allocations: 0 / 0.5685 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.3557, allocations: 3.938 kB / 0.5685 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006102/0.3563, allocations: 437.9 kB / 0.5689 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3563, allocations: 4 kB / 0.5689 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.788e-05/0.3563, allocations: 11.98 kB / 0.5689 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.3563, allocations: 4 kB / 0.5689 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.3563, allocations: 7.938 kB / 0.5689 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3563, allocations: 0 / 0.5689 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3563, allocations: 0 / 0.5689 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.3566, allocations: 219.6 kB / 0.5692 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.359e-05/0.3567, allocations: 39.7 kB / 0.5692 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.339e-05/0.3567, allocations: 7.938 kB / 0.5692 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.811e-05/0.3568, allocations: 7.984 kB / 0.5692 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.3569, allocations: 3.984 kB / 0.5692 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.3569, allocations: 11.88 kB / 0.5692 GB, free: 11.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007177/0.3576, allocations: 0.6628 MB / 0.5699 GB, free: 10.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3576, allocations: 3.938 kB / 0.5699 GB, free: 10.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.3578, allocations: 31.89 kB / 0.5699 GB, free: 10.38 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 (5): * Single equations (assignments): 5 * 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.002079/0.3599, allocations: 1.072 MB / 0.5709 GB, free: 9.465 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.3601, allocations: 55.91 kB / 0.571 GB, free: 9.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3601, allocations: 4 kB / 0.571 GB, free: 9.406 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.413e-05/0.3602, allocations: 27.97 kB / 0.571 GB, free: 9.379 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.3607, allocations: 27.81 kB / 0.5711 GB, free: 9.355 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003977/0.3646, allocations: 3.279 MB / 0.5743 GB, free: 5.984 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.3649, allocations: 228.1 kB / 0.5745 GB, free: 5.742 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.501e-05/0.365, allocations: 16.64 kB / 0.5745 GB, free: 5.723 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.3651, allocations: 119.4 kB / 0.5746 GB, free: 5.605 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3651, allocations: 0 / 0.5746 GB, free: 5.605 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03383/0.3989, allocations: 6.63 MB / 0.5811 GB, free: 15.03 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.48, allocations: 5.047 kB / 0.5811 GB, free: 15.03 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.569836883340031]