Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.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.001434/0.001434, allocations: 212 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.457/1.457, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2219/0.2219, allocations: 44.91 MB / 358.8 MB, free: 6.309 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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",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.002071/0.002071, allocations: 71.89 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3231, allocations: 65.47 MB / 0.557 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003305/0.3264, allocations: 1.617 MB / 0.5586 GB, free: 6.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.3274, allocations: 0.562 MB / 0.5592 GB, free: 5.602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.558e-05/0.3275, allocations: 4 kB / 0.5592 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.3277, allocations: 19.84 kB / 0.5592 GB, free: 5.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002984/0.328, allocations: 79.62 kB / 0.5593 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.3284, allocations: 111.7 kB / 0.5594 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000166/0.3285, allocations: 67.81 kB / 0.5594 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.368e-05/0.3286, allocations: 9.766 kB / 0.5594 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.912e-05/0.3287, allocations: 31.86 kB / 0.5595 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.301e-05/0.3288, allocations: 19.86 kB / 0.5595 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.3288, allocations: 4 kB / 0.5595 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.855e-05/0.3289, allocations: 31.98 kB / 0.5595 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.868e-05/0.3289, allocations: 15.92 kB / 0.5595 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.329, allocations: 19.81 kB / 0.5596 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.3291, allocations: 91.64 kB / 0.5596 GB, free: 5.105 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.3291, allocations: 0 / 0.5596 GB, free: 5.105 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3292, allocations: 4 kB / 0.5597 GB, free: 5.102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.3292, allocations: 0 / 0.5597 GB, free: 5.102 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.0004793/0.3296, allocations: 305.8 kB / 0.5599 GB, free: 4.773 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3297, allocations: 12.03 kB / 0.56 GB, free: 4.762 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.064e-05/0.3297, allocations: 34.73 kB / 0.56 GB, free: 4.719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.3298, allocations: 12.89 kB / 0.56 GB, free: 4.707 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.3299, allocations: 126.4 kB / 0.5601 GB, free: 4.559 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.33, allocations: 384 / 0.5601 GB, free: 4.559 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.33, allocations: 8.375 kB / 0.5601 GB, free: 4.551 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.3301, allocations: 57.61 kB / 0.5602 GB, free: 4.488 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3301, allocations: 3.938 kB / 0.5602 GB, free: 4.484 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.3302, allocations: 0 / 0.5602 GB, free: 4.484 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3302, allocations: 0 / 0.5602 GB, free: 4.484 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.337e-05/0.3303, allocations: 23.92 kB / 0.5602 GB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.3306, allocations: 251.9 kB / 0.5605 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.3309, allocations: 54.55 kB / 0.5605 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.282e-05/0.3309, allocations: 8.859 kB / 0.5605 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.3309, allocations: 8.016 kB / 0.5605 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.331, allocations: 42.55 kB / 0.5606 GB, free: 4.039 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.331, allocations: 3.938 kB / 0.5606 GB, free: 4.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005653/0.3315, allocations: 149.4 kB / 0.5607 GB, free: 3.883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/0.3316, allocations: 51.41 kB / 0.5608 GB, free: 3.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.3318, allocations: 150.2 kB / 0.5609 GB, free: 3.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.3318, allocations: 25.7 kB / 0.5609 GB, free: 3.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.66e-05/0.3318, allocations: 100.1 kB / 0.561 GB, free: 3.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.3319, allocations: 15.86 kB / 0.561 GB, free: 3.512 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.3319, allocations: 17.72 kB / 0.5611 GB, free: 3.488 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.3321, allocations: 326.8 kB / 0.5614 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.246e-05/0.3322, allocations: 19.98 kB / 0.5614 GB, free: 3.141 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.438e-05/0.3322, allocations: 23.97 kB / 0.5614 GB, free: 3.117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.3324, allocations: 52.83 kB / 0.5615 GB, free: 3.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3324, allocations: 0 / 0.5615 GB, free: 3.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001856/0.3326, allocations: 85.56 kB / 0.5615 GB, free: 2.973 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3326, allocations: 11.98 kB / 0.5615 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3326, allocations: 288 / 0.5615 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3326, allocations: 4 kB / 0.5616 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.242e-05/0.3327, allocations: 8 kB / 0.5616 GB, free: 2.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.3327, allocations: 256 / 0.5616 GB, free: 2.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.15e-05/0.3327, allocations: 7.984 kB / 0.5616 GB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.3327, allocations: 11.94 kB / 0.5616 GB, free: 2.93 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.392e-05/0.3328, allocations: 117.8 kB / 0.5617 GB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.3328, allocations: 15.94 kB / 0.5617 GB, free: 2.789 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.3331, allocations: 97.98 kB / 0.5618 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3331, allocations: 0 / 0.5618 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3331, allocations: 4 kB / 0.5618 GB, free: 2.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3331, allocations: 3.938 kB / 0.5618 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.3335, allocations: 325.6 kB / 0.5621 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3335, allocations: 0 / 0.5621 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.975e-05/0.3336, allocations: 15.98 kB / 0.5621 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3336, allocations: 4 kB / 0.5621 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.3336, allocations: 0 / 0.5621 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3336, allocations: 7.875 kB / 0.5621 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3336, allocations: 0 / 0.5621 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.3339, allocations: 179.5 kB / 0.5623 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.677e-05/0.3339, allocations: 11.95 kB / 0.5623 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.3339, allocations: 4 kB / 0.5623 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.334, allocations: 11.92 kB / 0.5623 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.334, allocations: 0 / 0.5623 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.334, allocations: 0 / 0.5623 GB, free: 2.055 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001032/0.3342, allocations: 121.3 kB / 0.5625 GB, free: 1.938 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3342, allocations: 0 / 0.5625 GB, free: 1.938 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000239/0.3344, allocations: 19.88 kB / 0.5625 GB, free: 1.918 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.001943/0.3363, allocations: 1.022 MB / 0.5635 GB, free: 1.031 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.3365, allocations: 55.89 kB / 0.5635 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3365, allocations: 0 / 0.5635 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.87e-05/0.3366, allocations: 31.92 kB / 0.5636 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.337, allocations: 23.23 kB / 0.5636 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.3388, allocations: 1.468 MB / 0.565 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.3391, allocations: 0.6924 MB / 0.5657 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.56e-05/0.3392, allocations: 24.02 kB / 0.5657 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.738e-05/0.3392, allocations: 23.42 kB / 0.5657 GB, free: 14.61 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3392, allocations: 0 / 0.5657 GB, free: 14.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03156/0.3708, allocations: 2.715 MB / 0.5684 GB, free: 11.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.6, allocations: 8.203 kB / 0.5684 GB, free: 11.94 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.559798338916153]