Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001348/0.001348, allocations: 111.1 kB / 20.44 MB, free: 1.344 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.001505/0.001505, allocations: 214.6 kB / 23.73 MB, free: 4.523 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.541/1.541, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.2492/0.2492, allocations: 44.94 MB / 358.9 MB, free: 6.07 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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",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.002107/0.002107, allocations: 67.89 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3653, allocations: 65.48 MB / 0.557 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.005297/0.3706, allocations: 1.607 MB / 0.5586 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.3726, allocations: 0.5192 MB / 0.5591 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.637e-05/0.3727, allocations: 0 / 0.5591 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004502/0.3731, allocations: 103.7 kB / 0.5592 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005667/0.3737, allocations: 111.6 kB / 0.5593 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005404/0.3743, allocations: 83.78 kB / 0.5594 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.3745, allocations: 91.73 kB / 0.5594 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.3747, allocations: 13.81 kB / 0.5595 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.3748, allocations: 47.83 kB / 0.5595 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.375, allocations: 47.83 kB / 0.5595 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.375, allocations: 4 kB / 0.5595 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001766/0.3752, allocations: 47.97 kB / 0.5596 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.003e-05/0.3753, allocations: 27.86 kB / 0.5596 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.799e-05/0.3754, allocations: 19.81 kB / 0.5596 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003408/0.3757, allocations: 115.4 kB / 0.5598 GB, free: 4.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3757, allocations: 0 / 0.5598 GB, free: 4.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3757, allocations: 0 / 0.5598 GB, free: 4.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.3757, allocations: 0 / 0.5598 GB, free: 4.707 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.0008665/0.3766, allocations: 353.5 kB / 0.5601 GB, free: 4.332 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.3766, allocations: 11.97 kB / 0.5601 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.41e-05/0.3767, allocations: 38.75 kB / 0.5601 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.75e-05/0.3768, allocations: 12.84 kB / 0.5601 GB, free: 4.262 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.3771, allocations: 142.3 kB / 0.5603 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.3771, allocations: 4.375 kB / 0.5603 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.3771, allocations: 12.33 kB / 0.5603 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.3773, allocations: 57.61 kB / 0.5604 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.3774, allocations: 0 / 0.5604 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.3774, allocations: 0 / 0.5604 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3774, allocations: 7.938 kB / 0.5604 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.3776, allocations: 23.98 kB / 0.5604 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006927/0.3783, allocations: 271.8 kB / 0.5606 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.3784, allocations: 42.59 kB / 0.5607 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.3785, allocations: 20.84 kB / 0.5607 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.3786, allocations: 0 / 0.5607 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.3786, allocations: 30.56 kB / 0.5607 GB, free: 3.566 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.3786, allocations: 3.938 kB / 0.5607 GB, free: 3.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001556/0.3802, allocations: 233.2 kB / 0.561 GB, free: 3.328 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.714e-05/0.3803, allocations: 51.41 kB / 0.561 GB, free: 3.266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004515/0.3807, allocations: 235.2 kB / 0.5612 GB, free: 3.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.3807, allocations: 29.7 kB / 0.5613 GB, free: 2.984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.3809, allocations: 108.1 kB / 0.5614 GB, free: 2.875 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.3809, allocations: 27.81 kB / 0.5614 GB, free: 2.848 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.818e-05/0.381, allocations: 25.7 kB / 0.5614 GB, free: 2.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002313/0.3812, allocations: 326.8 kB / 0.5617 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.3814, allocations: 19.98 kB / 0.5617 GB, free: 2.469 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.3815, allocations: 32.05 kB / 0.5618 GB, free: 2.438 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.3818, allocations: 68.98 kB / 0.5618 GB, free: 2.367 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3818, allocations: 0 / 0.5618 GB, free: 2.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003973/0.3822, allocations: 105.6 kB / 0.5619 GB, free: 2.258 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.3822, allocations: 7.984 kB / 0.562 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3822, allocations: 0 / 0.562 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3822, allocations: 0 / 0.562 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.3824, allocations: 16 kB / 0.562 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.3824, allocations: 7.922 kB / 0.562 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.223e-05/0.3825, allocations: 7.938 kB / 0.562 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.3825, allocations: 0 / 0.562 GB, free: 2.219 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 (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.0001785/0.3827, allocations: 133.8 kB / 0.5621 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.233e-05/0.3827, allocations: 15.95 kB / 0.5621 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004569/0.3832, allocations: 115 kB / 0.5622 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3832, allocations: 0 / 0.5622 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.3832, allocations: 7.938 kB / 0.5622 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3832, allocations: 3.938 kB / 0.5622 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009061/0.3841, allocations: 366.4 kB / 0.5626 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3841, allocations: 0 / 0.5626 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.3843, allocations: 31.91 kB / 0.5626 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3843, allocations: 0 / 0.5626 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.3843, allocations: 11.92 kB / 0.5626 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.3843, allocations: 4 kB / 0.5626 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3843, allocations: 0 / 0.5626 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000448/0.3847, allocations: 204.3 kB / 0.5628 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.093e-05/0.3848, allocations: 11.89 kB / 0.5628 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.3848, allocations: 4 kB / 0.5629 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.3849, allocations: 4 kB / 0.5629 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.385, allocations: 15.92 kB / 0.5629 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.385, allocations: 4 kB / 0.5629 GB, free: 1.211 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000274/0.3853, allocations: 172.3 kB / 0.563 GB, free: 1.043 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3853, allocations: 4 kB / 0.563 GB, free: 1.039 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004839/0.3858, allocations: 19.95 kB / 0.5631 GB, free: 1.02 MB / 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 (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.003591/0.3894, allocations: 1.128 MB / 0.5642 GB, free: 88 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003575/0.3897, allocations: 63.89 kB / 0.5642 GB, free: 24 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3897, allocations: 0 / 0.5642 GB, free: 24 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.3899, allocations: 39.91 kB / 0.5643 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005844/0.3905, allocations: 19.69 kB / 0.5643 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/0.3939, allocations: 1.719 MB / 0.566 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.3941, allocations: 96.61 kB / 0.5661 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.935e-05/0.3942, allocations: 24.94 kB / 0.5661 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.322e-05/0.3943, allocations: 31.42 kB / 0.5661 GB, free: 13.99 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3943, allocations: 0 / 0.5661 GB, free: 13.99 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03963/0.4339, allocations: 3.755 MB / 0.5698 GB, free: 10.28 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.96, allocations: 15.98 kB / 0.5698 GB, free: 10.27 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.068393831606954]