Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.001326/0.001326, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001403/0.001403, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.2594/0.2594, allocations: 44.92 MB / 358.8 MB, free: 6.258 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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",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.002414/0.002414, allocations: 63.89 kB / 0.4931 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3699, allocations: 65.47 MB / 0.557 GB, free: 7.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.00339/0.3733, allocations: 1.607 MB / 0.5586 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.3744, allocations: 0.5503 MB / 0.5591 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.332e-05/0.3745, allocations: 4 kB / 0.5592 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002298/0.3747, allocations: 23.86 kB / 0.5592 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003322/0.3751, allocations: 79.62 kB / 0.5592 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.3754, allocations: 83.75 kB / 0.5593 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.3756, allocations: 67.83 kB / 0.5594 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.3757, allocations: 17.75 kB / 0.5594 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.496e-05/0.3757, allocations: 19.88 kB / 0.5594 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.17e-05/0.3758, allocations: 23.86 kB / 0.5595 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.3758, allocations: 8 kB / 0.5595 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.807e-05/0.3759, allocations: 39.97 kB / 0.5595 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.325e-05/0.376, allocations: 7.938 kB / 0.5595 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.267e-05/0.376, allocations: 27.8 kB / 0.5595 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.3762, allocations: 83.59 kB / 0.5596 GB, free: 4.957 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3762, allocations: 0 / 0.5596 GB, free: 4.957 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3762, allocations: 0 / 0.5596 GB, free: 4.957 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.3762, allocations: 7.938 kB / 0.5596 GB, free: 4.949 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.0004647/0.3767, allocations: 313.8 kB / 0.5599 GB, free: 4.613 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.3767, allocations: 12.03 kB / 0.5599 GB, free: 4.602 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.401e-05/0.3767, allocations: 38.75 kB / 0.56 GB, free: 4.555 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.3768, allocations: 8.891 kB / 0.56 GB, free: 4.547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.377, allocations: 132.8 kB / 0.5601 GB, free: 4.395 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.377, allocations: 4.375 kB / 0.5601 GB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.377, allocations: 384 / 0.5601 GB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.3771, allocations: 57.62 kB / 0.5602 GB, free: 4.328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3771, allocations: 0 / 0.5602 GB, free: 4.328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.3772, allocations: 3.938 kB / 0.5602 GB, free: 4.324 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3772, allocations: 0 / 0.5602 GB, free: 4.324 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.044e-05/0.3772, allocations: 27.97 kB / 0.5602 GB, free: 4.297 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.3776, allocations: 247.9 kB / 0.5604 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.3778, allocations: 38.56 kB / 0.5605 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.339e-05/0.3778, allocations: 20.8 kB / 0.5605 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.3779, allocations: 0 / 0.5605 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.3779, allocations: 38.64 kB / 0.5605 GB, free: 3.895 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.3779, allocations: 0 / 0.5605 GB, free: 3.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005295/0.3784, allocations: 145.6 kB / 0.5607 GB, free: 3.746 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.3784, allocations: 51.41 kB / 0.5607 GB, free: 3.684 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.3786, allocations: 171.4 kB / 0.5609 GB, free: 3.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.3786, allocations: 29.7 kB / 0.5609 GB, free: 3.473 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.987e-05/0.3787, allocations: 96.12 kB / 0.561 GB, free: 3.375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.3787, allocations: 19.8 kB / 0.561 GB, free: 3.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.3788, allocations: 17.72 kB / 0.561 GB, free: 3.332 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3789, allocations: 318.8 kB / 0.5613 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.164e-05/0.379, allocations: 19.98 kB / 0.5614 GB, free: 2.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.933e-05/0.379, allocations: 19.98 kB / 0.5614 GB, free: 2.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.3791, allocations: 48.77 kB / 0.5614 GB, free: 2.922 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.3791, allocations: 0 / 0.5614 GB, free: 2.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000177/0.3793, allocations: 89.55 kB / 0.5615 GB, free: 2.828 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.3793, allocations: 4 kB / 0.5615 GB, free: 2.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3793, allocations: 4 kB / 0.5615 GB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.3794, allocations: 0 / 0.5615 GB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.548e-05/0.3794, allocations: 11.98 kB / 0.5615 GB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3794, allocations: 3.938 kB / 0.5615 GB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.933e-05/0.3795, allocations: 8 kB / 0.5615 GB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.3795, allocations: 3.984 kB / 0.5615 GB, free: 2.793 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 9.157e-05/0.3796, allocations: 121.8 kB / 0.5617 GB, free: 2.664 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.3796, allocations: 7.953 kB / 0.5617 GB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.3798, allocations: 94.25 kB / 0.5618 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3798, allocations: 64 / 0.5618 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.3798, allocations: 7.938 kB / 0.5618 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3798, allocations: 4 kB / 0.5618 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.3803, allocations: 317.6 kB / 0.5621 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3803, allocations: 0 / 0.5621 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.806e-05/0.3803, allocations: 15.92 kB / 0.5621 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/0.3804, allocations: 3.938 kB / 0.5621 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.3804, allocations: 0 / 0.5621 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3804, allocations: 4 kB / 0.5621 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3804, allocations: 0 / 0.5621 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.3806, allocations: 175.5 kB / 0.5623 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.566e-05/0.3806, allocations: 7.938 kB / 0.5623 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.3807, allocations: 7.938 kB / 0.5623 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.527e-05/0.3807, allocations: 0 / 0.5623 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.3808, allocations: 11.98 kB / 0.5623 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-06/0.3808, allocations: 0 / 0.5623 GB, free: 1.938 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001188/0.3809, allocations: 129.7 kB / 0.5624 GB, free: 1.812 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3809, allocations: 0 / 0.5624 GB, free: 1.812 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.3811, allocations: 15.95 kB / 0.5624 GB, free: 1.797 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.00212/0.3833, allocations: 1.036 MB / 0.5634 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.3835, allocations: 43.97 kB / 0.5635 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3835, allocations: 0 / 0.5635 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.259e-05/0.3836, allocations: 27.92 kB / 0.5635 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.384, allocations: 15.98 kB / 0.5635 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.3859, allocations: 1.465 MB / 0.5649 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.3862, allocations: 0.6924 MB / 0.5656 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.768e-05/0.3863, allocations: 15.77 kB / 0.5656 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.001e-05/0.3864, allocations: 23.44 kB / 0.5657 GB, free: 14.5 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3864, allocations: 0 / 0.5657 GB, free: 14.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/0.4166, allocations: 2.763 MB / 0.5684 GB, free: 11.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.67, allocations: 7.875 kB / 0.5684 GB, free: 11.79 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.72186676110141]