Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.00181/0.00181, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002376/0.002376, allocations: 201.2 kB / 24.52 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.537/1.537, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.238/0.238, allocations: 44.91 MB / 359.6 MB, free: 6.312 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="cs",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.002054/0.002054, allocations: 63.91 kB / 0.4939 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3399, allocations: 65.48 MB / 0.5578 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003478/0.3433, allocations: 1.659 MB / 0.5594 GB, free: 6.121 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.3445, allocations: 0.5738 MB / 0.56 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.287e-05/0.3446, allocations: 4 kB / 0.56 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.3449, allocations: 95.67 kB / 0.5601 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003178/0.3452, allocations: 115.6 kB / 0.5602 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003415/0.3456, allocations: 119.7 kB / 0.5603 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.3458, allocations: 107.7 kB / 0.5604 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.3459, allocations: 21.81 kB / 0.5604 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.557e-05/0.346, allocations: 47.83 kB / 0.5605 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.3461, allocations: 63.81 kB / 0.5606 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.3461, allocations: 8 kB / 0.5606 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.3462, allocations: 43.97 kB / 0.5606 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.518e-05/0.3463, allocations: 35.8 kB / 0.5606 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.237e-05/0.3464, allocations: 43.62 kB / 0.5607 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.3467, allocations: 131.4 kB / 0.5608 GB, free: 4.723 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3467, allocations: 7.938 kB / 0.5608 GB, free: 4.715 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3467, allocations: 0 / 0.5608 GB, free: 4.715 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.3467, allocations: 0 / 0.5608 GB, free: 4.715 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005686/0.3473, allocations: 369.4 kB / 0.5612 GB, free: 4.324 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3473, allocations: 8.031 kB / 0.5612 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.465e-05/0.3473, allocations: 4.188 kB / 0.5612 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.934e-05/0.3474, allocations: 38.75 kB / 0.5612 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.3474, allocations: 16.84 kB / 0.5612 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.3478, allocations: 150.8 kB / 0.5614 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.3478, allocations: 12.38 kB / 0.5614 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.3478, allocations: 8.125 kB / 0.5614 GB, free: 4.059 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.348, allocations: 69.66 kB / 0.5615 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.348, allocations: 7.953 kB / 0.5615 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.348, allocations: 4 kB / 0.5615 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.348, allocations: 0 / 0.5615 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.3481, allocations: 43.91 kB / 0.5615 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000625/0.3488, allocations: 311.8 kB / 0.5618 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.349, allocations: 66.48 kB / 0.5619 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.759e-05/0.3491, allocations: 24.84 kB / 0.5619 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.3491, allocations: 0 / 0.5619 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.3491, allocations: 34.56 kB / 0.5619 GB, free: 3.438 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.3491, allocations: 0 / 0.5619 GB, free: 3.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001192/0.3503, allocations: 353.4 kB / 0.5623 GB, free: 3.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.3504, allocations: 51.41 kB / 0.5623 GB, free: 3.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.3507, allocations: 243.5 kB / 0.5625 GB, free: 2.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.3507, allocations: 29.7 kB / 0.5626 GB, free: 2.734 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.66e-05/0.3508, allocations: 108.1 kB / 0.5627 GB, free: 2.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.3508, allocations: 51.58 kB / 0.5627 GB, free: 2.574 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.3509, allocations: 21.72 kB / 0.5627 GB, free: 2.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002158/0.3511, allocations: 330.8 kB / 0.5631 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.3512, allocations: 47.91 kB / 0.5631 GB, free: 2.168 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.3513, allocations: 47.97 kB / 0.5632 GB, free: 2.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.3515, allocations: 104.8 kB / 0.5633 GB, free: 2.016 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3515, allocations: 0 / 0.5633 GB, free: 2.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003076/0.3518, allocations: 157.5 kB / 0.5634 GB, free: 1.855 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3519, allocations: 7.938 kB / 0.5634 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3519, allocations: 0 / 0.5634 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3519, allocations: 0 / 0.5634 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.352, allocations: 31.92 kB / 0.5634 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.352, allocations: 7.938 kB / 0.5634 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.61e-05/0.3521, allocations: 15.98 kB / 0.5635 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.3521, allocations: 4 kB / 0.5635 GB, free: 1.789 MB / 398.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 (13): * Single equations (assignments): 13 * 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.0001211/0.3523, allocations: 133.8 kB / 0.5636 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.3523, allocations: 19.84 kB / 0.5636 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004725/0.3528, allocations: 187 kB / 0.5638 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3528, allocations: 4 kB / 0.5638 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3528, allocations: 4 kB / 0.5638 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3528, allocations: 3.984 kB / 0.5638 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007322/0.3535, allocations: 470.2 kB / 0.5643 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.3535, allocations: 4 kB / 0.5643 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.572e-05/0.3536, allocations: 23.98 kB / 0.5643 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.3536, allocations: 3.984 kB / 0.5643 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.3536, allocations: 32 / 0.5643 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3536, allocations: 8 kB / 0.5643 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3536, allocations: 3.938 kB / 0.5643 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003676/0.354, allocations: 255.5 kB / 0.5645 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.27e-05/0.354, allocations: 15.91 kB / 0.5646 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.3541, allocations: 7.984 kB / 0.5646 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.796e-05/0.3541, allocations: 8 kB / 0.5646 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.3542, allocations: 7.984 kB / 0.5646 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.3542, allocations: 8 kB / 0.5646 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002513/0.3544, allocations: 181.1 kB / 0.5648 GB, free: 392 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3544, allocations: 0 / 0.5648 GB, free: 392 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002813/0.3547, allocations: 35.88 kB / 0.5648 GB, free: 356 kB / 398.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 (13): * Single equations (assignments): 13 * 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.002415/0.3571, allocations: 1.145 MB / 0.5659 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003175/0.3574, allocations: 107.8 kB / 0.566 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3575, allocations: 4 kB / 0.566 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.3576, allocations: 55.91 kB / 0.5661 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.358, allocations: 33.89 kB / 0.5661 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/0.3608, allocations: 1.924 MB / 0.568 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.3611, allocations: 0.7197 MB / 0.5687 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.3612, allocations: 36.45 kB / 0.5687 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.781e-05/0.3613, allocations: 43.42 kB / 0.5688 GB, free: 12.33 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3613, allocations: 0 / 0.5688 GB, free: 12.33 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02542/0.3868, allocations: 3.837 MB / 0.5725 GB, free: 8.566 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.78, allocations: 7.625 kB / 0.5725 GB, free: 8.562 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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: 15.091890921001323]