Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.0009859/0.0009859, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001298/0.001298, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9381/0.9381, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.2516/0.2516, allocations: 32.79 MB / 293.5 MB, free: 1.211 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.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.126e-05, allocations: 12.33 kB / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002151/0.002173, allocations: 1.595 MB / 441.2 MB, free: 2.625 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006475/0.00282, allocations: 0.5258 MB / 441.7 MB, free: 2.094 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.113e-05/0.002871, allocations: 0 / 441.7 MB, free: 2.094 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.003057, allocations: 19.8 kB / 441.7 MB, free: 2.074 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.003299, allocations: 87.61 kB / 441.8 MB, free: 1.988 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.003512, allocations: 89.25 kB / 441.9 MB, free: 1.902 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.003642, allocations: 67.78 kB / 442 MB, free: 1.836 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.641e-05/0.003739, allocations: 8 kB / 442 MB, free: 1.828 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.775e-05/0.003797, allocations: 35.89 kB / 442 MB, free: 1.793 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.14e-05/0.003848, allocations: 15.92 kB / 442 MB, free: 1.777 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.003868, allocations: 4 kB / 442 MB, free: 1.773 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.876e-05/0.003937, allocations: 27.94 kB / 442.1 MB, free: 1.746 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.767e-05/0.003984, allocations: 19.92 kB / 442.1 MB, free: 1.727 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.004012, allocations: 19.92 kB / 442.1 MB, free: 1.707 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.00416, allocations: 79.66 kB / 442.2 MB, free: 1.629 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.004164, allocations: 4 kB / 442.2 MB, free: 1.625 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.004165, allocations: 0 / 442.2 MB, free: 1.625 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.004169, allocations: 3.938 kB / 442.2 MB, free: 1.621 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.0003618/0.004531, allocations: 309.8 kB / 442.5 MB, free: 1.289 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.004569, allocations: 12.03 kB / 442.5 MB, free: 1.277 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.933e-05/0.004598, allocations: 34.75 kB / 442.5 MB, free: 1.234 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.598e-05/0.004624, allocations: 8.891 kB / 442.6 MB, free: 1.227 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.004752, allocations: 133.7 kB / 442.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.00476, allocations: 8.375 kB / 442.7 MB, free: 1.062 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.004776, allocations: 384 / 442.7 MB, free: 1.062 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.004892, allocations: 50.19 kB / 442.7 MB, free: 1.008 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.004901, allocations: 192 / 442.7 MB, free: 1.008 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.004911, allocations: 3.938 kB / 442.7 MB, free: 1.004 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.004916, allocations: 0 / 442.7 MB, free: 1.004 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.573e-05/0.004972, allocations: 19.98 kB / 442.8 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000266/0.005238, allocations: 244 kB / 443 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.005402, allocations: 58.42 kB / 443.1 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.879e-05/0.00543, allocations: 16.84 kB / 443.1 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.005449, allocations: 3.938 kB / 443.1 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.005467, allocations: 34.56 kB / 443.1 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.005467, allocations: 0 / 443.1 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003964/0.005864, allocations: 141.5 kB / 443.2 MB, free: 436 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.005898, allocations: 55.41 kB / 443.3 MB, free: 368 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.006015, allocations: 165 kB / 443.5 MB, free: 196 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.006026, allocations: 25.7 kB / 443.5 MB, free: 164 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.719e-05/0.006073, allocations: 96.14 kB / 443.6 MB, free: 64 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.006095, allocations: 23.78 kB / 443.6 MB, free: 40 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.006124, allocations: 17.72 kB / 443.6 MB, free: 16 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.1618/0.1679, allocations: 321.7 kB / 443.9 MB, free: 46.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.618e-05/0.168, allocations: 17.11 kB / 444 MB, free: 46.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.91e-05/0.168, allocations: 21.72 kB / 444 MB, free: 46.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.334e-05/0.1681, allocations: 51.36 kB / 444 MB, free: 46.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1681, allocations: 0 / 444 MB, free: 46.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001315/0.1682, allocations: 77.47 kB / 444.1 MB, free: 46.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1683, allocations: 4.469 kB / 444.1 MB, free: 46.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.1683, allocations: 3.125 kB / 444.1 MB, free: 46.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.1683, allocations: 3.188 kB / 444.1 MB, free: 46.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.533e-05/0.1683, allocations: 14.69 kB / 444.1 MB, free: 46.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1683, allocations: 6.562 kB / 444.1 MB, free: 46.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.609e-05/0.1684, allocations: 3.812 kB / 444.1 MB, free: 46.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.1684, allocations: 3.25 kB / 444.1 MB, free: 46.06 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 5.534e-05/0.1684, allocations: 120.8 kB / 444.3 MB, free: 45.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.1684, allocations: 8.25 kB / 444.3 MB, free: 45.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.1686, allocations: 90.14 kB / 444.4 MB, free: 45.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1686, allocations: 4.688 kB / 444.4 MB, free: 45.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1686, allocations: 3.938 kB / 444.4 MB, free: 45.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1686, allocations: 0 / 444.4 MB, free: 45.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.1689, allocations: 315 kB / 444.7 MB, free: 45.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1689, allocations: 0 / 444.7 MB, free: 45.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.257e-05/0.1689, allocations: 16.02 kB / 444.7 MB, free: 45.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1689, allocations: 3.938 kB / 444.7 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.1689, allocations: 0 / 444.7 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1689, allocations: 3.656 kB / 444.7 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1689, allocations: 7.094 kB / 444.7 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.71e-05/0.169, allocations: 178.5 kB / 444.9 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.775e-06/0.169, allocations: 5.078 kB / 444.9 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.169, allocations: 4.5 kB / 444.9 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.595e-05/0.1691, allocations: 6.844 kB / 444.9 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.806e-05/0.1691, allocations: 6.922 kB / 444.9 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.1691, allocations: 0 / 444.9 MB, free: 45.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.328e-05/0.1692, allocations: 131.2 kB / 445 MB, free: 45.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1692, allocations: 0 / 445 MB, free: 45.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001683/0.1693, allocations: 19.09 kB / 445 MB, free: 45.44 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.0008245/0.1701, allocations: 1.048 MB / 446.1 MB, free: 44.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.1703, allocations: 45.89 kB / 446.1 MB, free: 44.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.1703, allocations: 0 / 446.1 MB, free: 44.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.503e-05/0.1703, allocations: 23.38 kB / 446.2 MB, free: 44.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.1706, allocations: 17.23 kB / 446.2 MB, free: 44.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008271/0.1714, allocations: 1.478 MB / 447.7 MB, free: 43.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.107e-05/0.1715, allocations: 78.67 kB / 447.7 MB, free: 43.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.134e-05/0.1715, allocations: 15.31 kB / 447.7 MB, free: 43.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.06e-05/0.1715, allocations: 28.64 kB / 447.8 MB, free: 43.49 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1715, allocations: 0 / 447.8 MB, free: 43.49 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01597/0.1875, allocations: 3.303 MB / 451.1 MB, free: 42.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.659/6.846, allocations: 7.969 kB / 451.1 MB, free: 42.2 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.859834993258119]