Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.001447/0.001447, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.001454/0.001454, allocations: 199.1 kB / 23.72 MB, free: 4.492 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.476/1.476, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.225/0.225, allocations: 44.93 MB / 358.8 MB, free: 6.062 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.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27",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.003559/0.003559, allocations: 65.94 kB / 0.4931 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3267, allocations: 65.47 MB / 0.557 GB, free: 7.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002938/0.3296, allocations: 1.607 MB / 0.5586 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.3307, allocations: 0.5388 MB / 0.5591 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.403e-05/0.3308, allocations: 4 kB / 0.5591 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.3311, allocations: 119.6 kB / 0.5592 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.3314, allocations: 131.5 kB / 0.5593 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.3317, allocations: 107.7 kB / 0.5594 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.3318, allocations: 103.7 kB / 0.5595 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.953e-05/0.3319, allocations: 13.81 kB / 0.5595 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.492e-05/0.332, allocations: 55.81 kB / 0.5596 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.3321, allocations: 91.7 kB / 0.5597 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.3322, allocations: 4 kB / 0.5597 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.3323, allocations: 51.97 kB / 0.5597 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.3323, allocations: 19.92 kB / 0.5598 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.771e-05/0.3324, allocations: 27.75 kB / 0.5598 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.3326, allocations: 123.4 kB / 0.5599 GB, free: 4.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3326, allocations: 3.984 kB / 0.5599 GB, free: 4.426 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3326, allocations: 3.938 kB / 0.5599 GB, free: 4.422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.3326, allocations: 4 kB / 0.5599 GB, free: 4.418 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.0005048/0.3331, allocations: 369.3 kB / 0.5603 GB, free: 4.027 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.3331, allocations: 8.031 kB / 0.5603 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.648e-05/0.3331, allocations: 34.75 kB / 0.5603 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.3332, allocations: 16.84 kB / 0.5603 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.3334, allocations: 166.4 kB / 0.5605 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.3334, allocations: 384 / 0.5605 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.3334, allocations: 4.375 kB / 0.5605 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.3335, allocations: 53.62 kB / 0.5605 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.3336, allocations: 3.984 kB / 0.5605 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.3336, allocations: 4 kB / 0.5605 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.3336, allocations: 4 kB / 0.5605 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.3337, allocations: 31.91 kB / 0.5606 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.3341, allocations: 271.9 kB / 0.5608 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.3342, allocations: 46.56 kB / 0.5609 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.503e-05/0.3343, allocations: 20.94 kB / 0.5609 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.3343, allocations: 3.938 kB / 0.5609 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.3343, allocations: 30.56 kB / 0.5609 GB, free: 3.238 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3343, allocations: 4 kB / 0.5609 GB, free: 3.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008945/0.3352, allocations: 249.1 kB / 0.5612 GB, free: 2.984 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.3353, allocations: 51.41 kB / 0.5612 GB, free: 2.922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.3356, allocations: 279.8 kB / 0.5615 GB, free: 2.629 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.3356, allocations: 25.7 kB / 0.5615 GB, free: 2.598 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.47e-05/0.3357, allocations: 120.1 kB / 0.5616 GB, free: 2.477 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.3357, allocations: 27.75 kB / 0.5617 GB, free: 2.449 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.3357, allocations: 25.7 kB / 0.5617 GB, free: 2.418 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3359, allocations: 326.8 kB / 0.562 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.822e-05/0.336, allocations: 32.05 kB / 0.562 GB, free: 2.059 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.291e-05/0.3361, allocations: 27.97 kB / 0.562 GB, free: 2.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.3362, allocations: 80.75 kB / 0.5621 GB, free: 1.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3362, allocations: 0 / 0.5621 GB, free: 1.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002299/0.3365, allocations: 117.6 kB / 0.5622 GB, free: 1.828 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.3365, allocations: 6.812 kB / 0.5622 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.3365, allocations: 0 / 0.5622 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.3365, allocations: 4 kB / 0.5622 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.845e-05/0.3366, allocations: 15.98 kB / 0.5623 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.3366, allocations: 3.938 kB / 0.5623 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.122e-05/0.3367, allocations: 11.98 kB / 0.5623 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.3367, allocations: 4 kB / 0.5623 GB, free: 1.785 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.0001103/0.3368, allocations: 143.1 kB / 0.5624 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.3368, allocations: 11.91 kB / 0.5624 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003077/0.3371, allocations: 143.3 kB / 0.5626 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.3371, allocations: 0 / 0.5626 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3371, allocations: 3.938 kB / 0.5626 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3371, allocations: 0 / 0.5626 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005812/0.3377, allocations: 390.4 kB / 0.5629 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3377, allocations: 8.016 kB / 0.563 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.192e-05/0.3378, allocations: 15.94 kB / 0.563 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3378, allocations: 4 kB / 0.563 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.3378, allocations: 11.92 kB / 0.563 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3378, allocations: 0 / 0.563 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3378, allocations: 0 / 0.563 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002876/0.3381, allocations: 216.7 kB / 0.5632 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.398e-05/0.3381, allocations: 15.84 kB / 0.5632 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.3381, allocations: 0 / 0.5632 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.484e-05/0.3382, allocations: 11.98 kB / 0.5632 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.3382, allocations: 11.98 kB / 0.5632 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.3383, allocations: 7.984 kB / 0.5632 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002032/0.3385, allocations: 212.1 kB / 0.5634 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3385, allocations: 0 / 0.5634 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.3387, allocations: 27.92 kB / 0.5635 GB, free: 500 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 (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.00232/0.341, allocations: 1.13 MB / 0.5646 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002569/0.3413, allocations: 71.89 kB / 0.5646 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3413, allocations: 0 / 0.5646 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.904e-05/0.3414, allocations: 44.03 kB / 0.5647 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.3418, allocations: 25.64 kB / 0.5647 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/0.344, allocations: 1.863 MB / 0.5665 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.3441, allocations: 113.1 kB / 0.5666 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.208e-05/0.3442, allocations: 20.66 kB / 0.5666 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.476e-05/0.3443, allocations: 39.42 kB / 0.5667 GB, free: 13.27 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3443, allocations: 0 / 0.5667 GB, free: 13.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02936/0.3737, allocations: 3.994 MB / 0.5706 GB, free: 9.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.57, allocations: 11.91 kB / 0.5706 GB, free: 9.309 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.58920753095299]