Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.001869/0.001869, 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.002384/0.002384, allocations: 212.9 kB / 24.52 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.503/1.503, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2212/0.2212, allocations: 44.93 MB / 359.6 MB, free: 6.16 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",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.00213/0.00213, allocations: 63.91 kB / 0.4938 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3487, allocations: 65.46 MB / 0.5577 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003034/0.3518, allocations: 1.601 MB / 0.5593 GB, free: 5.945 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.3528, allocations: 0.5115 MB / 0.5598 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.815e-05/0.3529, allocations: 0 / 0.5598 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002112/0.3531, allocations: 39.78 kB / 0.5598 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.3534, allocations: 71.69 kB / 0.5599 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.3537, allocations: 95.62 kB / 0.56 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.3538, allocations: 71.72 kB / 0.5601 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.8e-05/0.3539, allocations: 11.98 kB / 0.5601 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.923e-05/0.354, allocations: 19.92 kB / 0.5601 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.918e-05/0.354, allocations: 23.86 kB / 0.5601 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.354, allocations: 0 / 0.5601 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.296e-05/0.3541, allocations: 35.98 kB / 0.5601 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.694e-05/0.3542, allocations: 23.91 kB / 0.5602 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.3542, allocations: 19.81 kB / 0.5602 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.3545, allocations: 87.59 kB / 0.5603 GB, free: 4.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3545, allocations: 0 / 0.5603 GB, free: 4.938 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3545, allocations: 0 / 0.5603 GB, free: 4.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.3545, allocations: 0 / 0.5603 GB, free: 4.938 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005018/0.355, allocations: 325.7 kB / 0.5606 GB, free: 4.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.355, allocations: 12.03 kB / 0.5606 GB, free: 4.578 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.884e-05/0.355, allocations: 192 / 0.5606 GB, free: 4.578 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.029e-05/0.3551, allocations: 30.75 kB / 0.5606 GB, free: 4.539 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.3551, allocations: 16.84 kB / 0.5606 GB, free: 4.523 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.3553, allocations: 136.4 kB / 0.5608 GB, free: 4.367 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.3553, allocations: 3.938 kB / 0.5608 GB, free: 4.363 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.3553, allocations: 7.938 kB / 0.5608 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.3554, allocations: 49.67 kB / 0.5608 GB, free: 4.301 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3555, allocations: 0 / 0.5608 GB, free: 4.301 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.3555, allocations: 0 / 0.5608 GB, free: 4.301 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.3555, allocations: 0 / 0.5608 GB, free: 4.301 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.141e-05/0.3556, allocations: 23.98 kB / 0.5609 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.3559, allocations: 240 kB / 0.5611 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.3561, allocations: 50.48 kB / 0.5611 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.283e-05/0.3562, allocations: 16.86 kB / 0.5611 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.3562, allocations: 0 / 0.5611 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.3562, allocations: 30.56 kB / 0.5612 GB, free: 3.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.3562, allocations: 0 / 0.5612 GB, free: 3.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005566/0.3568, allocations: 149.7 kB / 0.5613 GB, free: 3.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.3568, allocations: 63.34 kB / 0.5614 GB, free: 3.656 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.357, allocations: 179.8 kB / 0.5616 GB, free: 3.469 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.357, allocations: 25.7 kB / 0.5616 GB, free: 3.438 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.048e-05/0.3571, allocations: 100.1 kB / 0.5617 GB, free: 3.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.3571, allocations: 19.89 kB / 0.5617 GB, free: 3.316 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.3572, allocations: 17.72 kB / 0.5617 GB, free: 3.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3573, allocations: 322.8 kB / 0.562 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.093e-05/0.3574, allocations: 23.98 kB / 0.562 GB, free: 2.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.156e-05/0.3575, allocations: 15.98 kB / 0.5621 GB, free: 2.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.3576, allocations: 56.77 kB / 0.5621 GB, free: 2.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3576, allocations: 3.938 kB / 0.5621 GB, free: 2.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001823/0.3578, allocations: 81.58 kB / 0.5622 GB, free: 2.781 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.3578, allocations: 4 kB / 0.5622 GB, free: 2.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3578, allocations: 0 / 0.5622 GB, free: 2.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.3578, allocations: 3.984 kB / 0.5622 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.836e-05/0.3579, allocations: 12 kB / 0.5622 GB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3579, allocations: 3.938 kB / 0.5622 GB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.272e-05/0.3579, allocations: 11.98 kB / 0.5622 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.358, allocations: 4 kB / 0.5622 GB, free: 2.742 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 (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.0001105/0.3581, allocations: 121.8 kB / 0.5623 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.3581, allocations: 7.953 kB / 0.5623 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.3584, allocations: 90.05 kB / 0.5624 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3584, allocations: 0 / 0.5624 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.3584, allocations: 3.938 kB / 0.5624 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3584, allocations: 4 kB / 0.5624 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004456/0.3588, allocations: 313.6 kB / 0.5627 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.3588, allocations: 320 / 0.5627 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.071e-05/0.3589, allocations: 19.98 kB / 0.5628 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3589, allocations: 3.938 kB / 0.5628 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.3589, allocations: 0 / 0.5628 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3589, allocations: 0 / 0.5628 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3589, allocations: 0 / 0.5628 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002981/0.3592, allocations: 179.5 kB / 0.5629 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.571e-05/0.3592, allocations: 15.84 kB / 0.563 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.3592, allocations: 4 kB / 0.563 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.989e-05/0.3593, allocations: 11.92 kB / 0.563 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.3593, allocations: 4 kB / 0.563 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.3593, allocations: 0 / 0.563 GB, free: 1.891 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001225/0.3595, allocations: 135.2 kB / 0.5631 GB, free: 1.758 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3595, allocations: 0 / 0.5631 GB, free: 1.758 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.3597, allocations: 19.92 kB / 0.5631 GB, free: 1.738 MB / 398.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.00221/0.3619, allocations: 1.045 MB / 0.5641 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002195/0.3621, allocations: 47.89 kB / 0.5642 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3621, allocations: 4 kB / 0.5642 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.219e-05/0.3622, allocations: 19.98 kB / 0.5642 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.3626, allocations: 15.09 kB / 0.5642 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.3646, allocations: 1.502 MB / 0.5657 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.3647, allocations: 79.61 kB / 0.5658 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.169e-05/0.3648, allocations: 7.984 kB / 0.5658 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.837e-05/0.3648, allocations: 23.44 kB / 0.5658 GB, free: 15.06 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3648, allocations: 4 kB / 0.5658 GB, free: 15.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.3886, allocations: 2.899 MB / 0.5686 GB, free: 12.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.89, allocations: 8 kB / 0.5686 GB, free: 12.2 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.075051430030726]