Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001927/0.001927, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.00202/0.00202, allocations: 216.3 kB / 24.53 MB, free: 4.066 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.487/1.487, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.2284/0.2284, allocations: 44.91 MB / 359.6 MB, free: 6.367 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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",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.002132/0.002132, allocations: 63.89 kB / 0.4939 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3182, allocations: 65.47 MB / 0.5578 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003038/0.3213, allocations: 1.641 MB / 0.5594 GB, free: 6.117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.3224, allocations: 0.5621 MB / 0.56 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.124e-05/0.3225, allocations: 4 kB / 0.56 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.3228, allocations: 79.69 kB / 0.56 GB, free: 5.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003087/0.3231, allocations: 107.6 kB / 0.5601 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.3234, allocations: 107.7 kB / 0.5602 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.3235, allocations: 87.75 kB / 0.5603 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.971e-05/0.3236, allocations: 15.97 kB / 0.5603 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.031e-05/0.3237, allocations: 31.92 kB / 0.5604 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.3238, allocations: 67.73 kB / 0.5604 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.3238, allocations: 4 kB / 0.5604 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.311e-05/0.3239, allocations: 47.98 kB / 0.5605 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.389e-05/0.324, allocations: 27.84 kB / 0.5605 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.087e-05/0.324, allocations: 27.75 kB / 0.5605 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.3242, allocations: 113.6 kB / 0.5607 GB, free: 4.844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3242, allocations: 0 / 0.5607 GB, free: 4.844 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3242, allocations: 0 / 0.5607 GB, free: 4.844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.3242, allocations: 0 / 0.5607 GB, free: 4.844 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.0004662/0.3247, allocations: 341.6 kB / 0.561 GB, free: 4.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.3247, allocations: 11.97 kB / 0.561 GB, free: 4.469 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.26e-05/0.3247, allocations: 4.188 kB / 0.561 GB, free: 4.465 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.267e-05/0.3248, allocations: 38.75 kB / 0.561 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/0.3248, allocations: 16.83 kB / 0.561 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.325, allocations: 143 kB / 0.5612 GB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-06/0.325, allocations: 384 / 0.5612 GB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.325, allocations: 8.125 kB / 0.5612 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.3252, allocations: 53.67 kB / 0.5612 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3252, allocations: 3.984 kB / 0.5612 GB, free: 4.164 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.3252, allocations: 4 kB / 0.5612 GB, free: 4.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3252, allocations: 0 / 0.5612 GB, free: 4.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.3253, allocations: 35.91 kB / 0.5613 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.3257, allocations: 267.9 kB / 0.5615 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.3259, allocations: 42.56 kB / 0.5616 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.537e-05/0.3259, allocations: 20.94 kB / 0.5616 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.3259, allocations: 7.938 kB / 0.5616 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.326, allocations: 30.56 kB / 0.5616 GB, free: 3.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.326, allocations: 0 / 0.5616 GB, free: 3.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009352/0.3269, allocations: 245.2 kB / 0.5619 GB, free: 3.453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.3269, allocations: 67.33 kB / 0.5619 GB, free: 3.375 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.3272, allocations: 206.3 kB / 0.5621 GB, free: 3.164 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.3272, allocations: 29.7 kB / 0.5622 GB, free: 3.129 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.104e-05/0.3273, allocations: 104.1 kB / 0.5623 GB, free: 3.023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.3273, allocations: 27.75 kB / 0.5623 GB, free: 2.996 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/0.3273, allocations: 25.7 kB / 0.5623 GB, free: 2.965 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3275, allocations: 326.8 kB / 0.5626 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.815e-05/0.3276, allocations: 27.98 kB / 0.5626 GB, free: 2.609 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.238e-05/0.3277, allocations: 31.97 kB / 0.5627 GB, free: 2.578 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.3278, allocations: 72.77 kB / 0.5627 GB, free: 2.504 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3278, allocations: 0 / 0.5627 GB, free: 2.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002469/0.3281, allocations: 113.6 kB / 0.5629 GB, free: 2.387 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3281, allocations: 7.938 kB / 0.5629 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3281, allocations: 4 kB / 0.5629 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3281, allocations: 4 kB / 0.5629 GB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.3282, allocations: 19.98 kB / 0.5629 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.3282, allocations: 3.938 kB / 0.5629 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.589e-05/0.3283, allocations: 4 kB / 0.5629 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.3283, allocations: 7.938 kB / 0.5629 GB, free: 2.336 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.000135/0.3284, allocations: 133.7 kB / 0.563 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.84e-05/0.3285, allocations: 15.91 kB / 0.563 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003297/0.3288, allocations: 135 kB / 0.5632 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3288, allocations: 0 / 0.5632 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.3288, allocations: 3.938 kB / 0.5632 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3288, allocations: 0 / 0.5632 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006247/0.3294, allocations: 394.7 kB / 0.5636 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.3294, allocations: 3.938 kB / 0.5636 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.896e-05/0.3295, allocations: 24.02 kB / 0.5636 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.3295, allocations: 3.938 kB / 0.5636 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.3295, allocations: 0 / 0.5636 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.3295, allocations: 4 kB / 0.5636 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3295, allocations: 80 / 0.5636 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.3298, allocations: 208.7 kB / 0.5638 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.119e-05/0.3299, allocations: 23.83 kB / 0.5638 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.3299, allocations: 0 / 0.5638 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.872e-05/0.33, allocations: 8 kB / 0.5638 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.33, allocations: 11.97 kB / 0.5638 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.33, allocations: 0 / 0.5638 GB, free: 1.289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.3302, allocations: 164.2 kB / 0.564 GB, free: 1.129 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3302, allocations: 0 / 0.564 GB, free: 1.129 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.3304, allocations: 27.88 kB / 0.564 GB, free: 1.102 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.002244/0.3327, allocations: 1.099 MB / 0.5651 GB, free: 164 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002826/0.3329, allocations: 75.88 kB / 0.5652 GB, free: 88 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3329, allocations: 0 / 0.5652 GB, free: 88 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.333, allocations: 43.84 kB / 0.5652 GB, free: 44 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.3335, allocations: 24.08 kB / 0.5652 GB, free: 24 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.3357, allocations: 1.72 MB / 0.5669 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.3361, allocations: 0.708 MB / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.812e-05/0.3362, allocations: 28.94 kB / 0.5676 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.288e-05/0.3362, allocations: 31.42 kB / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3362, allocations: 0 / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.3619, allocations: 3.377 MB / 0.571 GB, free: 10.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.72, allocations: 9.141 kB / 0.571 GB, free: 10.12 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.86881860397989]