Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001659/0.001659, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001447/0.001447, allocations: 214.4 kB / 23.74 MB, free: 4.656 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2356/0.2356, allocations: 44.92 MB / 358.8 MB, free: 6.359 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.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",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.00221/0.00221, allocations: 67.89 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3767, allocations: 65.47 MB / 0.557 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003306/0.38, allocations: 1.63 MB / 0.5586 GB, free: 6.113 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.3811, allocations: 0.5621 MB / 0.5592 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.298e-05/0.3812, allocations: 4 kB / 0.5592 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.3815, allocations: 75.77 kB / 0.5593 GB, free: 5.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.3818, allocations: 99.59 kB / 0.5594 GB, free: 5.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003245/0.3821, allocations: 111.7 kB / 0.5595 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.3823, allocations: 83.75 kB / 0.5595 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.3824, allocations: 13.83 kB / 0.5596 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.735e-05/0.3824, allocations: 39.83 kB / 0.5596 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.3826, allocations: 59.75 kB / 0.5597 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.3826, allocations: 7.938 kB / 0.5597 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.3827, allocations: 43.98 kB / 0.5597 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.3827, allocations: 19.92 kB / 0.5597 GB, free: 5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.141e-05/0.3828, allocations: 23.81 kB / 0.5597 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.383, allocations: 115.4 kB / 0.5599 GB, free: 4.863 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.383, allocations: 0 / 0.5599 GB, free: 4.863 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.383, allocations: 0 / 0.5599 GB, free: 4.863 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.383, allocations: 0 / 0.5599 GB, free: 4.863 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.0005056/0.3835, allocations: 341.7 kB / 0.5602 GB, free: 4.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.3835, allocations: 8.031 kB / 0.5602 GB, free: 4.492 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.351e-05/0.3836, allocations: 34.75 kB / 0.5602 GB, free: 4.449 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/0.3836, allocations: 16.84 kB / 0.5602 GB, free: 4.434 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.3838, allocations: 142.3 kB / 0.5604 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.3838, allocations: 384 / 0.5604 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.3838, allocations: 4.375 kB / 0.5604 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.384, allocations: 61.55 kB / 0.5604 GB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.384, allocations: 3.984 kB / 0.5604 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.384, allocations: 0 / 0.5604 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.384, allocations: 8 kB / 0.5604 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.3841, allocations: 23.98 kB / 0.5605 GB, free: 4.164 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004575/0.3846, allocations: 275.8 kB / 0.5607 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.3847, allocations: 46.5 kB / 0.5608 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.883e-05/0.3848, allocations: 24.88 kB / 0.5608 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.3848, allocations: 8 kB / 0.5608 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.3848, allocations: 30.56 kB / 0.5608 GB, free: 3.723 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3848, allocations: 0 / 0.5608 GB, free: 3.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009871/0.3858, allocations: 241.2 kB / 0.5611 GB, free: 3.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.3859, allocations: 51.41 kB / 0.5611 GB, free: 3.418 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.3861, allocations: 203.2 kB / 0.5613 GB, free: 3.203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.3861, allocations: 29.7 kB / 0.5613 GB, free: 3.168 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.305e-05/0.3862, allocations: 104.1 kB / 0.5614 GB, free: 3.062 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.644e-05/0.3862, allocations: 31.73 kB / 0.5615 GB, free: 3.031 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.3863, allocations: 17.72 kB / 0.5615 GB, free: 3.008 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.3864, allocations: 322.8 kB / 0.5618 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.156e-05/0.3865, allocations: 31.98 kB / 0.5618 GB, free: 2.652 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.695e-05/0.3866, allocations: 39.97 kB / 0.5619 GB, free: 2.613 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.3868, allocations: 76.81 kB / 0.5619 GB, free: 2.535 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3868, allocations: 0 / 0.5619 GB, free: 2.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000264/0.3871, allocations: 105.6 kB / 0.562 GB, free: 2.426 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3871, allocations: 4 kB / 0.562 GB, free: 2.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3871, allocations: 4 kB / 0.562 GB, free: 2.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3871, allocations: 3.938 kB / 0.5621 GB, free: 2.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.3872, allocations: 19.98 kB / 0.5621 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3872, allocations: 7.875 kB / 0.5621 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.3873, allocations: 8 kB / 0.5621 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.3873, allocations: 0 / 0.5621 GB, free: 2.379 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.0001056/0.3874, allocations: 125.8 kB / 0.5622 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.3874, allocations: 11.91 kB / 0.5622 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003204/0.3877, allocations: 135 kB / 0.5623 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3877, allocations: 0 / 0.5623 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.3877, allocations: 7.938 kB / 0.5624 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3877, allocations: 0 / 0.5624 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006002/0.3883, allocations: 386.8 kB / 0.5627 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3883, allocations: 7.969 kB / 0.5627 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.828e-05/0.3884, allocations: 27.86 kB / 0.5628 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3884, allocations: 0 / 0.5628 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.3884, allocations: 4 kB / 0.5628 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3884, allocations: 0 / 0.5628 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.3884, allocations: 4.078 kB / 0.5628 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.3887, allocations: 216.7 kB / 0.563 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.034e-05/0.3888, allocations: 15.89 kB / 0.563 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.3888, allocations: 7.922 kB / 0.563 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.591e-05/0.3888, allocations: 4 kB / 0.563 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.3889, allocations: 7.969 kB / 0.563 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.3889, allocations: 4 kB / 0.563 GB, free: 1.336 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.389, allocations: 153.8 kB / 0.5632 GB, free: 1.188 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.389, allocations: 0 / 0.5632 GB, free: 1.188 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000263/0.3893, allocations: 23.94 kB / 0.5632 GB, free: 1.164 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.002258/0.3916, allocations: 1.116 MB / 0.5643 GB, free: 212 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002375/0.3918, allocations: 67.95 kB / 0.5643 GB, free: 144 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3918, allocations: 0 / 0.5643 GB, free: 144 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.392, allocations: 39.91 kB / 0.5644 GB, free: 104 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.3923, allocations: 19.3 kB / 0.5644 GB, free: 88 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.3944, allocations: 1.677 MB / 0.566 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.3947, allocations: 0.7119 MB / 0.5667 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.954e-05/0.3948, allocations: 24.95 kB / 0.5667 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.636e-05/0.3949, allocations: 35.42 kB / 0.5668 GB, free: 13.52 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3949, allocations: 0 / 0.5668 GB, free: 13.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.424, allocations: 3.278 MB / 0.57 GB, free: 10.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.7, allocations: 7.922 kB / 0.57 GB, free: 10.3 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.830944589106366]