Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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.001702/0.001702, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002165/0.002165, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.491/1.491, allocations: 230.6 MB / 257.5 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.2223/0.2223, allocations: 44.94 MB / 358.8 MB, free: 6.055 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.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11",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.002304/0.002304, allocations: 67.91 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3251, allocations: 65.47 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003403/0.3285, allocations: 1.655 MB / 0.5586 GB, free: 5.871 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.3306, allocations: 1.263 MB / 0.5598 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.291e-05/0.3307, allocations: 4 kB / 0.5598 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.3309, allocations: 23.8 kB / 0.5599 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003744/0.3313, allocations: 87.61 kB / 0.5599 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004835/0.3318, allocations: 175.2 kB / 0.5601 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.3319, allocations: 79.77 kB / 0.5602 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.3321, allocations: 17.81 kB / 0.5602 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.272e-05/0.3321, allocations: 31.86 kB / 0.5602 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.3322, allocations: 39.77 kB / 0.5603 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.3322, allocations: 4 kB / 0.5603 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.3324, allocations: 95.94 kB / 0.5604 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.32e-05/0.3325, allocations: 19.92 kB / 0.5604 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.3325, allocations: 19.88 kB / 0.5604 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.3328, allocations: 159.4 kB / 0.5606 GB, free: 3.863 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3328, allocations: 0 / 0.5606 GB, free: 3.863 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3328, allocations: 0 / 0.5606 GB, free: 3.863 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.3328, allocations: 0 / 0.5606 GB, free: 3.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.0006175/0.3334, allocations: 349.5 kB / 0.5609 GB, free: 3.492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3335, allocations: 8.031 kB / 0.5609 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.253e-05/0.3335, allocations: 34.75 kB / 0.5609 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.3336, allocations: 16.89 kB / 0.5609 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.3338, allocations: 146.3 kB / 0.5611 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.3338, allocations: 4.375 kB / 0.5611 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.3338, allocations: 4.312 kB / 0.5611 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.334, allocations: 101 kB / 0.5612 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3341, allocations: 4 kB / 0.5612 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.3341, allocations: 4 kB / 0.5612 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3341, allocations: 0 / 0.5612 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.3342, allocations: 43.95 kB / 0.5612 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000487/0.3347, allocations: 279.8 kB / 0.5615 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.3348, allocations: 46.55 kB / 0.5616 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.207e-05/0.3349, allocations: 24.94 kB / 0.5616 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.3349, allocations: 0 / 0.5616 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.335, allocations: 34.56 kB / 0.5616 GB, free: 2.641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.335, allocations: 0 / 0.5616 GB, free: 2.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008316/0.3358, allocations: 237.3 kB / 0.5618 GB, free: 2.402 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.3359, allocations: 81.11 kB / 0.5619 GB, free: 2.305 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.336, allocations: 159.9 kB / 0.5621 GB, free: 2.141 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.3361, allocations: 33.62 kB / 0.5621 GB, free: 2.102 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.711e-05/0.3361, allocations: 100.1 kB / 0.5622 GB, free: 2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.3362, allocations: 23.78 kB / 0.5622 GB, free: 1.977 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.3362, allocations: 25.72 kB / 0.5622 GB, free: 1.945 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3364, allocations: 318.8 kB / 0.5625 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.3365, allocations: 39.97 kB / 0.5626 GB, free: 1.586 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.3366, allocations: 83.31 kB / 0.5627 GB, free: 1.492 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.3369, allocations: 93.02 kB / 0.5627 GB, free: 1.398 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3369, allocations: 4.031 kB / 0.5628 GB, free: 1.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003554/0.3373, allocations: 121.6 kB / 0.5629 GB, free: 1.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3373, allocations: 8 kB / 0.5629 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3373, allocations: 0 / 0.5629 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3373, allocations: 288 / 0.5629 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.3374, allocations: 23.92 kB / 0.5629 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3374, allocations: 0 / 0.5629 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.093e-05/0.3375, allocations: 19.92 kB / 0.5629 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.3375, allocations: 4 kB / 0.5629 GB, free: 1.215 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 (7): * Single equations (assignments): 7 * 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.0001049/0.3376, allocations: 117.8 kB / 0.563 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.3377, allocations: 19.88 kB / 0.5631 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003885/0.3381, allocations: 134.3 kB / 0.5632 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3381, allocations: 0 / 0.5632 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3381, allocations: 0 / 0.5632 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3381, allocations: 7.938 kB / 0.5632 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006797/0.3388, allocations: 377.5 kB / 0.5635 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3388, allocations: 0 / 0.5635 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.057e-05/0.3388, allocations: 15.98 kB / 0.5636 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.3388, allocations: 4 kB / 0.5636 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.3389, allocations: 7.922 kB / 0.5636 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3389, allocations: 0 / 0.5636 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3389, allocations: 4 kB / 0.5636 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.3392, allocations: 223.4 kB / 0.5638 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.244e-05/0.3393, allocations: 7.953 kB / 0.5638 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.3393, allocations: 11.88 kB / 0.5638 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.3394, allocations: 7.984 kB / 0.5638 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.3394, allocations: 11.98 kB / 0.5638 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.3394, allocations: 4 kB / 0.5638 GB, free: 196 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001173/0.3396, allocations: 125.5 kB / 0.564 GB, free: 72 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3396, allocations: 0 / 0.564 GB, free: 72 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003058/0.3399, allocations: 43.86 kB / 0.564 GB, free: 28 kB / 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 (7): * Single equations (assignments): 7 * 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.002508/0.3424, allocations: 1.194 MB / 0.5652 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003252/0.3427, allocations: 83.92 kB / 0.5652 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3427, allocations: 8 kB / 0.5653 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.3428, allocations: 47.89 kB / 0.5653 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.3432, allocations: 24.36 kB / 0.5653 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.3456, allocations: 1.64 MB / 0.5669 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.3457, allocations: 95.67 kB / 0.567 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.3458, allocations: 32.8 kB / 0.567 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.633e-05/0.3459, allocations: 31.36 kB / 0.5671 GB, free: 12.97 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3459, allocations: 0 / 0.5671 GB, free: 12.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03535/0.3812, allocations: 4.209 MB / 0.5712 GB, free: 8.789 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.84, allocations: 2.656 kB / 0.5712 GB, free: 8.789 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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.836810186970979]