Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001999/0.001999, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001599/0.001599, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.493/1.493, allocations: 230.6 MB / 258.3 MB, free: 7.957 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.2534/0.2534, allocations: 46.98 MB / 361.7 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 179] 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.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 67.91 kB / 0.4969 GB, free: 7.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3691, allocations: 66.03 MB / 0.5614 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003156/0.3723, allocations: 1.636 MB / 0.563 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.3734, allocations: 0.531 MB / 0.5635 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.066e-05/0.3734, allocations: 4 kB / 0.5635 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.3737, allocations: 99.61 kB / 0.5636 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003206/0.3741, allocations: 119.6 kB / 0.5637 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.3744, allocations: 119.4 kB / 0.5638 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.3746, allocations: 111.7 kB / 0.5639 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.3747, allocations: 17.81 kB / 0.5639 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.195e-05/0.3748, allocations: 51.83 kB / 0.564 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.3749, allocations: 67.73 kB / 0.5641 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.3749, allocations: 4 kB / 0.5641 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.375, allocations: 47.98 kB / 0.5641 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.689e-05/0.3751, allocations: 31.86 kB / 0.5641 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.024e-05/0.3751, allocations: 35.73 kB / 0.5642 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.3754, allocations: 131.4 kB / 0.5643 GB, free: 1.195 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3754, allocations: 4 kB / 0.5643 GB, free: 1.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3754, allocations: 0 / 0.5643 GB, free: 1.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.3754, allocations: 3.938 kB / 0.5643 GB, free: 1.188 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.0005663/0.3759, allocations: 357.5 kB / 0.5646 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.376, allocations: 15.97 kB / 0.5647 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.619e-05/0.376, allocations: 192 / 0.5647 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.741e-05/0.376, allocations: 38.75 kB / 0.5647 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.3761, allocations: 16.84 kB / 0.5647 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.3763, allocations: 162.8 kB / 0.5649 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.3763, allocations: 4.375 kB / 0.5649 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.3764, allocations: 12.12 kB / 0.5649 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.3766, allocations: 73.59 kB / 0.565 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.3766, allocations: 7.953 kB / 0.565 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.3766, allocations: 0 / 0.565 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3766, allocations: 0 / 0.565 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.3767, allocations: 43.95 kB / 0.565 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/0.3772, allocations: 307.8 kB / 0.5653 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.3774, allocations: 62.59 kB / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.265e-05/0.3775, allocations: 24.8 kB / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.3775, allocations: 0 / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.3775, allocations: 30.56 kB / 0.5654 GB, free: 15.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.3775, allocations: 0 / 0.5654 GB, free: 15.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001153/0.3787, allocations: 349.2 kB / 0.5657 GB, free: 15.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.3787, allocations: 51.41 kB / 0.5658 GB, free: 15.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.379, allocations: 231.6 kB / 0.566 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.379, allocations: 29.7 kB / 0.566 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.696e-05/0.3791, allocations: 112.1 kB / 0.5661 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.106e-05/0.3791, allocations: 47.58 kB / 0.5662 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.293e-05/0.3792, allocations: 25.7 kB / 0.5662 GB, free: 15.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.3793, allocations: 330.8 kB / 0.5665 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.3795, allocations: 51.91 kB / 0.5666 GB, free: 14.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.3796, allocations: 47.91 kB / 0.5666 GB, free: 14.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.3798, allocations: 108.4 kB / 0.5667 GB, free: 14.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3798, allocations: 4 kB / 0.5667 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003306/0.3801, allocations: 161.5 kB / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3801, allocations: 11.94 kB / 0.5669 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3801, allocations: 0.7031 kB / 0.5669 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.3802, allocations: 4 kB / 0.5669 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.3803, allocations: 23.98 kB / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.3803, allocations: 0 / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.115e-05/0.3803, allocations: 8 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.3804, allocations: 4 kB / 0.5669 GB, free: 14.29 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 (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.0001262/0.3805, allocations: 141.8 kB / 0.5671 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.789e-05/0.3805, allocations: 19.83 kB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004126/0.3809, allocations: 191 kB / 0.5673 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3809, allocations: 0 / 0.5673 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.381, allocations: 4 kB / 0.5673 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.381, allocations: 0 / 0.5673 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007025/0.3817, allocations: 458.3 kB / 0.5677 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3817, allocations: 3.938 kB / 0.5677 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.763e-05/0.3818, allocations: 27.92 kB / 0.5677 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.3818, allocations: 4 kB / 0.5678 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.3818, allocations: 32 / 0.5678 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3818, allocations: 4 kB / 0.5678 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3818, allocations: 0 / 0.5678 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.3821, allocations: 260.1 kB / 0.568 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.203e-05/0.3821, allocations: 15.89 kB / 0.568 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.3822, allocations: 8 kB / 0.568 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.068e-05/0.3823, allocations: 4 kB / 0.568 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.3823, allocations: 7.984 kB / 0.568 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.3823, allocations: 11.98 kB / 0.5681 GB, free: 13.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001689/0.3825, allocations: 181.1 kB / 0.5682 GB, free: 12.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3825, allocations: 4 kB / 0.5682 GB, free: 12.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.3828, allocations: 31.88 kB / 0.5683 GB, free: 12.85 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 (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.002475/0.3852, allocations: 1.185 MB / 0.5694 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003196/0.3855, allocations: 103.8 kB / 0.5695 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3856, allocations: 0 / 0.5695 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.3857, allocations: 63.89 kB / 0.5696 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.3861, allocations: 23.81 kB / 0.5696 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/0.3886, allocations: 1.92 MB / 0.5715 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.3887, allocations: 117.5 kB / 0.5716 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.32e-05/0.3888, allocations: 28.47 kB / 0.5716 GB, free: 9.496 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.348e-05/0.3889, allocations: 43.42 kB / 0.5717 GB, free: 9.457 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3889, allocations: 0 / 0.5717 GB, free: 9.457 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.4133, allocations: 3.864 MB / 0.5754 GB, free: 5.652 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.79, allocations: 14.28 kB / 0.5754 GB, free: 5.641 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.040326019981876]