Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001093/0.001093, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001129/0.001129, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8813/0.8813, allocations: 177.1 MB / 204.2 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2277/0.2277, allocations: 32.79 MB / 293.5 MB, free: 1.25 MB / 266.7 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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.306e-05, allocations: 3.266 kB / 439.6 MB, free: 4.238 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.002271/0.002294, allocations: 1.59 MB / 441.2 MB, free: 2.637 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007114/0.003005, allocations: 0.5297 MB / 441.7 MB, free: 2.102 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.401e-05/0.003059, allocations: 0 / 441.7 MB, free: 2.102 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.003261, allocations: 31.72 kB / 441.8 MB, free: 2.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002697/0.003531, allocations: 79.56 kB / 441.8 MB, free: 1.992 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.003773, allocations: 114.7 kB / 441.9 MB, free: 1.883 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.0039, allocations: 67.77 kB / 442 MB, free: 1.816 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.742e-05/0.003997, allocations: 11.98 kB / 442 MB, free: 1.805 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.921e-05/0.004067, allocations: 27.92 kB / 442 MB, free: 1.777 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.18e-05/0.004118, allocations: 23.91 kB / 442.1 MB, free: 1.754 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.004133, allocations: 4 kB / 442.1 MB, free: 1.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.821e-05/0.004202, allocations: 31.92 kB / 442.1 MB, free: 1.719 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.609e-05/0.004248, allocations: 11.94 kB / 442.1 MB, free: 1.707 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.494e-05/0.004273, allocations: 11.94 kB / 442.1 MB, free: 1.695 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.004417, allocations: 87.64 kB / 442.2 MB, free: 1.609 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.00442, allocations: 4 kB / 442.2 MB, free: 1.605 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.004421, allocations: 0 / 442.2 MB, free: 1.605 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.004426, allocations: 3.938 kB / 442.2 MB, free: 1.602 MB / 410.7 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.000495/0.004921, allocations: 313.8 kB / 442.5 MB, free: 1.266 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.004961, allocations: 8.031 kB / 442.5 MB, free: 1.258 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.086e-05/0.004992, allocations: 38.75 kB / 442.6 MB, free: 1.211 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.005021, allocations: 8.891 kB / 442.6 MB, free: 1.203 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.00516, allocations: 136.1 kB / 442.7 MB, free: 1.047 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.005168, allocations: 384 / 442.7 MB, free: 1.047 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.005185, allocations: 4.375 kB / 442.7 MB, free: 1.043 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.005301, allocations: 54.23 kB / 442.8 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.005311, allocations: 4.125 kB / 442.8 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.00532, allocations: 3.938 kB / 442.8 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.005324, allocations: 0 / 442.8 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.051e-05/0.005385, allocations: 31.97 kB / 442.8 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.005681, allocations: 248 kB / 443.1 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.005853, allocations: 50.42 kB / 443.1 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.916e-05/0.005882, allocations: 12.86 kB / 443.1 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.005904, allocations: 4 kB / 443.1 MB, free: 0.582 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.005923, allocations: 38.64 kB / 443.2 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.005924, allocations: 4 kB / 443.2 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003788/0.006303, allocations: 145.4 kB / 443.3 MB, free: 392 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.006332, allocations: 55.39 kB / 443.4 MB, free: 324 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.006437, allocations: 169.2 kB / 443.5 MB, free: 148 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.006448, allocations: 25.7 kB / 443.6 MB, free: 116 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/0.006486, allocations: 92.14 kB / 443.6 MB, free: 20 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1641/0.1706, allocations: 23.81 kB / 443.7 MB, free: 46.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.1706, allocations: 18.89 kB / 443.7 MB, free: 46.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.624e-05/0.1707, allocations: 324.2 kB / 444 MB, free: 46.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.265e-05/0.1708, allocations: 20.88 kB / 444 MB, free: 46.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.268e-05/0.1708, allocations: 24.39 kB / 444 MB, free: 46.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.423e-05/0.1709, allocations: 50.38 kB / 444.1 MB, free: 46.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1709, allocations: 0 / 444.1 MB, free: 46.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001369/0.171, allocations: 86.81 kB / 444.2 MB, free: 46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1711, allocations: 10.39 kB / 444.2 MB, free: 46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.1711, allocations: 0 / 444.2 MB, free: 46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.1711, allocations: 0 / 444.2 MB, free: 46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.89e-05/0.1711, allocations: 19.44 kB / 444.2 MB, free: 46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1711, allocations: 6.688 kB / 444.2 MB, free: 46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.664e-05/0.1712, allocations: 3.625 kB / 444.2 MB, free: 46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1712, allocations: 0.625 kB / 444.2 MB, free: 46 MB / 410.7 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 6.074e-05/0.1712, allocations: 121.4 kB / 444.3 MB, free: 45.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.1713, allocations: 11 kB / 444.3 MB, free: 45.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.1714, allocations: 94.14 kB / 444.4 MB, free: 45.85 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1714, allocations: 4.438 kB / 444.4 MB, free: 45.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1714, allocations: 3.938 kB / 444.4 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1714, allocations: 3.469 kB / 444.4 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.1717, allocations: 320.8 kB / 444.8 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1717, allocations: 0.5625 kB / 444.8 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.379e-05/0.1718, allocations: 15.81 kB / 444.8 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1718, allocations: 8.781 kB / 444.8 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.1718, allocations: 0.6875 kB / 444.8 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1718, allocations: 0 / 444.8 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1718, allocations: 0 / 444.8 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.1719, allocations: 190 kB / 445 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.038e-05/0.1719, allocations: 9.109 kB / 445 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.1719, allocations: 3.938 kB / 445 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.515e-05/0.1719, allocations: 8.125 kB / 445 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.172, allocations: 2.812 kB / 445 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.172, allocations: 0 / 445 MB, free: 45.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.03e-05/0.172, allocations: 130.5 kB / 445.1 MB, free: 45.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.172, allocations: 0 / 445.1 MB, free: 45.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001684/0.1722, allocations: 11.12 kB / 445.1 MB, free: 45.38 MB / 410.7 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.000804/0.173, allocations: 1.054 MB / 446.2 MB, free: 44.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001256/0.1731, allocations: 52.48 kB / 446.2 MB, free: 44.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1731, allocations: 0 / 446.2 MB, free: 44.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.752e-05/0.1732, allocations: 28.03 kB / 446.3 MB, free: 44.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.1734, allocations: 20.8 kB / 446.3 MB, free: 44.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008767/0.1743, allocations: 1.506 MB / 447.8 MB, free: 43.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.369e-05/0.1743, allocations: 82.52 kB / 447.9 MB, free: 43.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.426e-05/0.1744, allocations: 17.39 kB / 447.9 MB, free: 43.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.401e-05/0.1744, allocations: 31.25 kB / 447.9 MB, free: 43.43 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1744, allocations: 0 / 447.9 MB, free: 43.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01403/0.1885, allocations: 3.327 MB / 451.2 MB, free: 42.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.694/6.883, allocations: 6.859 kB / 451.3 MB, free: 42.14 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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: 8.788899514824152]