Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.001327/0.001327, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001413/0.001413, allocations: 215.3 kB / 23.73 MB, free: 4.156 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.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2349/0.2349, allocations: 44.93 MB / 358.8 MB, free: 6.02 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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",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.002074/0.002074, allocations: 63.91 kB / 0.4931 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2942, allocations: 65.48 MB / 0.557 GB, free: 7.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003534/0.2978, allocations: 1.632 MB / 0.5586 GB, free: 5.852 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.2989, allocations: 0.5465 MB / 0.5591 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.789e-05/0.2989, allocations: 0 / 0.5591 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.2992, allocations: 99.67 kB / 0.5592 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.2995, allocations: 115.6 kB / 0.5593 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.2999, allocations: 119.6 kB / 0.5594 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.3001, allocations: 103.7 kB / 0.5595 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.3002, allocations: 17.81 kB / 0.5596 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.923e-05/0.3002, allocations: 47.83 kB / 0.5596 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.3004, allocations: 67.73 kB / 0.5597 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.3004, allocations: 4 kB / 0.5597 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-05/0.3005, allocations: 43.98 kB / 0.5597 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.159e-05/0.3005, allocations: 31.84 kB / 0.5597 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.46e-05/0.3006, allocations: 35.73 kB / 0.5598 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.3008, allocations: 135.4 kB / 0.5599 GB, free: 4.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3009, allocations: 0 / 0.5599 GB, free: 4.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3009, allocations: 0 / 0.5599 GB, free: 4.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.3009, allocations: 0 / 0.5599 GB, free: 4.5 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005395/0.3014, allocations: 365.4 kB / 0.5603 GB, free: 4.113 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.3014, allocations: 12.03 kB / 0.5603 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.909e-05/0.3015, allocations: 38.73 kB / 0.5603 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.3015, allocations: 16.84 kB / 0.5603 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.3018, allocations: 158.2 kB / 0.5605 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.3018, allocations: 4.375 kB / 0.5605 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.3018, allocations: 8.375 kB / 0.5605 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.302, allocations: 77.55 kB / 0.5606 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.302, allocations: 7.938 kB / 0.5606 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.302, allocations: 8 kB / 0.5606 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.302, allocations: 4 kB / 0.5606 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.3021, allocations: 39.97 kB / 0.5606 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005302/0.3027, allocations: 299.8 kB / 0.5609 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.3028, allocations: 62.55 kB / 0.561 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.528e-05/0.3029, allocations: 28.84 kB / 0.561 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.3029, allocations: 4 kB / 0.561 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.3029, allocations: 30.56 kB / 0.561 GB, free: 3.227 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.3029, allocations: 0 / 0.561 GB, free: 3.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.00115/0.3041, allocations: 345.6 kB / 0.5613 GB, free: 2.883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.3041, allocations: 59.39 kB / 0.5614 GB, free: 2.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.3044, allocations: 235.5 kB / 0.5616 GB, free: 2.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.3044, allocations: 33.7 kB / 0.5617 GB, free: 2.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.005e-05/0.3045, allocations: 112 kB / 0.5618 GB, free: 2.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.543e-05/0.3046, allocations: 47.58 kB / 0.5618 GB, free: 2.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.3046, allocations: 25.72 kB / 0.5618 GB, free: 2.332 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.3048, allocations: 330.8 kB / 0.5622 GB, free: 2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.3049, allocations: 43.97 kB / 0.5622 GB, free: 1.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.305, allocations: 51.97 kB / 0.5622 GB, free: 1.906 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.3052, allocations: 100.8 kB / 0.5623 GB, free: 1.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3052, allocations: 0 / 0.5623 GB, free: 1.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003082/0.3056, allocations: 164.9 kB / 0.5625 GB, free: 1.641 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3056, allocations: 7.938 kB / 0.5625 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3056, allocations: 3.938 kB / 0.5625 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3056, allocations: 0 / 0.5625 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.3057, allocations: 27.98 kB / 0.5625 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.3057, allocations: 4 kB / 0.5625 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.314e-05/0.3058, allocations: 7.984 kB / 0.5625 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.3058, allocations: 8 kB / 0.5626 GB, free: 1.582 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 (13): * Single equations (assignments): 13 * 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.0001337/0.3059, allocations: 134.3 kB / 0.5627 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.306, allocations: 15.91 kB / 0.5627 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004121/0.3064, allocations: 187 kB / 0.5629 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.3064, allocations: 0 / 0.5629 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.3064, allocations: 7.984 kB / 0.5629 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3064, allocations: 4 kB / 0.5629 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007027/0.3071, allocations: 454.3 kB / 0.5633 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3071, allocations: 4 kB / 0.5633 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.3072, allocations: 27.92 kB / 0.5634 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3072, allocations: 0 / 0.5634 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.3072, allocations: 8 kB / 0.5634 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3072, allocations: 3.938 kB / 0.5634 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3072, allocations: 0 / 0.5634 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003896/0.3076, allocations: 264.2 kB / 0.5636 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.081e-05/0.3076, allocations: 11.91 kB / 0.5636 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.3077, allocations: 3.938 kB / 0.5636 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.312e-05/0.3077, allocations: 11.98 kB / 0.5636 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.3078, allocations: 7.984 kB / 0.5636 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-06/0.3078, allocations: 4 kB / 0.5637 GB, free: 376 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002058/0.308, allocations: 189.1 kB / 0.5638 GB, free: 188 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.308, allocations: 0 / 0.5638 GB, free: 188 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003009/0.3083, allocations: 27.94 kB / 0.5639 GB, free: 160 kB / 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 (13): * Single equations (assignments): 13 * 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.002515/0.3108, allocations: 1.19 MB / 0.565 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003253/0.3111, allocations: 107.9 kB / 0.5651 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3111, allocations: 0 / 0.5651 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.3113, allocations: 55.91 kB / 0.5652 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.3117, allocations: 25.36 kB / 0.5652 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/0.3143, allocations: 1.916 MB / 0.5671 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.3145, allocations: 112.9 kB / 0.5672 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.867e-05/0.3146, allocations: 28.41 kB / 0.5672 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.773e-05/0.3146, allocations: 47.41 kB / 0.5673 GB, free: 12.77 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3146, allocations: 4 kB / 0.5673 GB, free: 12.76 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.3445, allocations: 4.16 MB / 0.5713 GB, free: 8.652 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.57, allocations: 7.875 kB / 0.5713 GB, free: 8.645 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.631454378832132]