Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.001281/0.001281, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001637/0.001637, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.516/1.516, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.2414/0.2414, allocations: 46.93 MB / 361.6 MB, free: 4.27 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.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 67.89 kB / 0.497 GB, free: 7.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3261, allocations: 66.03 MB / 0.5614 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.003327/0.3295, allocations: 1.636 MB / 0.563 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.3306, allocations: 0.5582 MB / 0.5636 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.407e-05/0.3306, allocations: 4 kB / 0.5636 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003542/0.331, allocations: 123.6 kB / 0.5637 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003277/0.3313, allocations: 127.5 kB / 0.5638 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.3316, allocations: 111.7 kB / 0.5639 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000222/0.3319, allocations: 103.7 kB / 0.564 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.332, allocations: 17.77 kB / 0.564 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.829e-05/0.3321, allocations: 51.81 kB / 0.5641 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.3322, allocations: 87.77 kB / 0.5642 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.3322, allocations: 7.938 kB / 0.5642 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.911e-05/0.3323, allocations: 43.98 kB / 0.5642 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.266e-05/0.3324, allocations: 35.91 kB / 0.5643 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.66e-05/0.3325, allocations: 39.67 kB / 0.5643 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.3327, allocations: 119.4 kB / 0.5644 GB, free: 1.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3327, allocations: 0 / 0.5644 GB, free: 1.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3327, allocations: 0 / 0.5644 GB, free: 1.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.3327, allocations: 3.938 kB / 0.5644 GB, free: 1.406 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005209/0.3332, allocations: 369.3 kB / 0.5648 GB, free: 1.016 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3332, allocations: 12.03 kB / 0.5648 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.405e-05/0.3333, allocations: 4.188 kB / 0.5648 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.014e-05/0.3333, allocations: 30.75 kB / 0.5648 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.3333, allocations: 16.84 kB / 0.5648 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.3335, allocations: 162.4 kB / 0.565 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.3336, allocations: 8.375 kB / 0.565 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.3336, allocations: 4.125 kB / 0.565 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.3337, allocations: 57.66 kB / 0.5651 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.3337, allocations: 7.938 kB / 0.5651 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.3337, allocations: 0 / 0.5651 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3338, allocations: 0 / 0.5651 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.3339, allocations: 31.97 kB / 0.5651 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/0.3343, allocations: 279.9 kB / 0.5654 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.3344, allocations: 46.5 kB / 0.5654 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.48e-05/0.3345, allocations: 16.94 kB / 0.5654 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.3345, allocations: 0 / 0.5654 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.3345, allocations: 38.56 kB / 0.5655 GB, free: 216 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.3345, allocations: 4 kB / 0.5655 GB, free: 212 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009609/0.3355, allocations: 241.6 kB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.3355, allocations: 67.09 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003776/0.3359, allocations: 271.8 kB / 0.566 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.3359, allocations: 29.7 kB / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.061e-05/0.336, allocations: 108.1 kB / 0.5661 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.479e-05/0.3361, allocations: 31.73 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.3361, allocations: 21.72 kB / 0.5662 GB, free: 15.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3363, allocations: 330.8 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.069e-05/0.3364, allocations: 27.98 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.841e-05/0.3364, allocations: 31.97 kB / 0.5666 GB, free: 15.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.3366, allocations: 80.83 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3366, allocations: 0 / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002323/0.3369, allocations: 113.5 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.3369, allocations: 4 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.3369, allocations: 8.078 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.3369, allocations: 11.98 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.337, allocations: 19.94 kB / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.337, allocations: 0 / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.87e-05/0.3371, allocations: 7.984 kB / 0.5668 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.3371, allocations: 4 kB / 0.5668 GB, free: 14.75 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.0001324/0.3372, allocations: 139.1 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.933e-05/0.3373, allocations: 11.91 kB / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003267/0.3376, allocations: 143.3 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3376, allocations: 3.938 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3376, allocations: 0 / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3376, allocations: 0 / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005609/0.3382, allocations: 402.3 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3382, allocations: 4 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.396e-05/0.3382, allocations: 19.92 kB / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3382, allocations: 4.031 kB / 0.5675 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.3382, allocations: 4 kB / 0.5675 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3383, allocations: 3.984 kB / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3383, allocations: 0 / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/0.3385, allocations: 212.2 kB / 0.5677 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.081e-05/0.3386, allocations: 19.91 kB / 0.5677 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.3386, allocations: 0 / 0.5677 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.908e-05/0.3387, allocations: 15.92 kB / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.3387, allocations: 11.91 kB / 0.5678 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.3387, allocations: 4 kB / 0.5678 GB, free: 13.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001965/0.3389, allocations: 208.1 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3389, allocations: 0 / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002874/0.3392, allocations: 27.92 kB / 0.568 GB, free: 13.46 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.002308/0.3415, allocations: 1.108 MB / 0.5691 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002837/0.3418, allocations: 71.89 kB / 0.5691 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3418, allocations: 0 / 0.5691 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.3419, allocations: 43.91 kB / 0.5692 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.3424, allocations: 23.27 kB / 0.5692 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.3448, allocations: 1.863 MB / 0.571 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.3452, allocations: 0.7197 MB / 0.5717 GB, free: 9.676 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.855e-05/0.3452, allocations: 20.64 kB / 0.5717 GB, free: 9.652 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.348e-05/0.3453, allocations: 43.42 kB / 0.5718 GB, free: 9.609 MB / 414.1 MB Notification: Performance of SimCode: time 1.001e-06/0.3453, allocations: 0 / 0.5718 GB, free: 9.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.3697, allocations: 3.647 MB / 0.5753 GB, free: 6.039 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.63, allocations: 9.422 kB / 0.5754 GB, free: 6.035 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test27_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.907588366011623]