Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.001859/0.001859, 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.002074/0.002074, allocations: 211.9 kB / 24.51 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.482/1.482, 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.2295/0.2295, allocations: 44.94 MB / 359.6 MB, free: 6.039 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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.002093/0.002093, allocations: 63.91 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3207, allocations: 65.47 MB / 0.5577 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003114/0.3238, allocations: 1.585 MB / 0.5593 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.3249, allocations: 0.5309 MB / 0.5598 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.227e-05/0.3249, allocations: 0 / 0.5598 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002347/0.3252, allocations: 31.77 kB / 0.5598 GB, free: 5.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003267/0.3255, allocations: 79.69 kB / 0.5599 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003343/0.3258, allocations: 115.6 kB / 0.56 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.326, allocations: 67.81 kB / 0.5601 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3261, allocations: 9.828 kB / 0.5601 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.764e-05/0.3262, allocations: 27.86 kB / 0.5601 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.148e-05/0.3262, allocations: 19.86 kB / 0.5601 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.3262, allocations: 4 kB / 0.5601 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.386e-05/0.3263, allocations: 35.98 kB / 0.5602 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.393e-05/0.3264, allocations: 19.92 kB / 0.5602 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.3264, allocations: 15.88 kB / 0.5602 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.3266, allocations: 95.52 kB / 0.5603 GB, free: 4.902 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3266, allocations: 0 / 0.5603 GB, free: 4.902 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3266, allocations: 0 / 0.5603 GB, free: 4.902 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.3266, allocations: 0 / 0.5603 GB, free: 4.902 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.0005288/0.3272, allocations: 317.8 kB / 0.5606 GB, free: 4.562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.3272, allocations: 12.03 kB / 0.5606 GB, free: 4.551 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.453e-05/0.3272, allocations: 192 / 0.5606 GB, free: 4.551 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.985e-05/0.3273, allocations: 38.75 kB / 0.5607 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.3273, allocations: 12.84 kB / 0.5607 GB, free: 4.492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.3275, allocations: 138.9 kB / 0.5608 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.3275, allocations: 3.938 kB / 0.5608 GB, free: 4.328 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.3275, allocations: 7.938 kB / 0.5608 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.3277, allocations: 41.69 kB / 0.5609 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3277, allocations: 0 / 0.5609 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.3277, allocations: 15.94 kB / 0.5609 GB, free: 4.258 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3277, allocations: 0 / 0.5609 GB, free: 4.258 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.687e-05/0.3278, allocations: 23.97 kB / 0.5609 GB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.3282, allocations: 248 kB / 0.5611 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.3284, allocations: 46.5 kB / 0.5612 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.352e-05/0.3285, allocations: 24.92 kB / 0.5612 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.3285, allocations: 0 / 0.5612 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.3285, allocations: 30.56 kB / 0.5612 GB, free: 3.828 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.3286, allocations: 4 kB / 0.5612 GB, free: 3.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006472/0.3292, allocations: 161.3 kB / 0.5614 GB, free: 3.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.3292, allocations: 55.34 kB / 0.5614 GB, free: 3.594 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.3294, allocations: 175.8 kB / 0.5616 GB, free: 3.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.3295, allocations: 29.7 kB / 0.5616 GB, free: 3.375 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.3295, allocations: 104.1 kB / 0.5617 GB, free: 3.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.3296, allocations: 7.906 kB / 0.5617 GB, free: 3.262 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.3296, allocations: 29.64 kB / 0.5618 GB, free: 3.227 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3297, allocations: 318.8 kB / 0.5621 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.308e-05/0.3298, allocations: 23.97 kB / 0.5621 GB, free: 2.883 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.812e-05/0.3299, allocations: 19.98 kB / 0.5621 GB, free: 2.863 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.33, allocations: 56.77 kB / 0.5622 GB, free: 2.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.33, allocations: 0 / 0.5622 GB, free: 2.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002055/0.3302, allocations: 93.56 kB / 0.5623 GB, free: 2.707 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3302, allocations: 8 kB / 0.5623 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3303, allocations: 0 / 0.5623 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3303, allocations: 256 / 0.5623 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.3303, allocations: 15.98 kB / 0.5623 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.3303, allocations: 7.938 kB / 0.5623 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.949e-05/0.3304, allocations: 0 / 0.5623 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.3304, allocations: 4 kB / 0.5623 GB, free: 2.672 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.0001005/0.3305, allocations: 125.8 kB / 0.5624 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.3305, allocations: 7.953 kB / 0.5624 GB, free: 2.531 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002642/0.3308, allocations: 98.06 kB / 0.5625 GB, free: 2.422 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3308, allocations: 0 / 0.5625 GB, free: 2.422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.3308, allocations: 3.938 kB / 0.5625 GB, free: 2.418 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3308, allocations: 3.984 kB / 0.5625 GB, free: 2.414 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004618/0.3313, allocations: 329.5 kB / 0.5628 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3313, allocations: 0 / 0.5628 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.743e-05/0.3313, allocations: 16 kB / 0.5629 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3313, allocations: 3.938 kB / 0.5629 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.3313, allocations: 4 kB / 0.5629 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3314, allocations: 3.984 kB / 0.5629 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3314, allocations: 0 / 0.5629 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.3316, allocations: 175.5 kB / 0.563 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.116e-05/0.3316, allocations: 19.83 kB / 0.563 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.3316, allocations: 0 / 0.563 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.366e-05/0.3317, allocations: 11.94 kB / 0.5631 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.3318, allocations: 3.984 kB / 0.5631 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.3318, allocations: 4 kB / 0.5631 GB, free: 1.789 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001275/0.3319, allocations: 135.2 kB / 0.5632 GB, free: 1.656 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3319, allocations: 0 / 0.5632 GB, free: 1.656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.3321, allocations: 15.94 kB / 0.5632 GB, free: 1.641 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.002122/0.3343, allocations: 1.044 MB / 0.5642 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002425/0.3345, allocations: 55.89 kB / 0.5643 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3345, allocations: 3.938 kB / 0.5643 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.339e-05/0.3346, allocations: 31.98 kB / 0.5643 GB, free: 0.668 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.335, allocations: 16.86 kB / 0.5643 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.3369, allocations: 1.514 MB / 0.5658 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.337, allocations: 91.61 kB / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.393e-05/0.3371, allocations: 16.05 kB / 0.5659 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.229e-05/0.3371, allocations: 27.42 kB / 0.5659 GB, free: 14.91 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3371, allocations: 0 / 0.5659 GB, free: 14.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.3598, allocations: 2.921 MB / 0.5688 GB, free: 12.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.83, allocations: 6.875 kB / 0.5688 GB, free: 12.04 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.062496369937435]