Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.0007947/0.0007947, 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.0008732/0.0008732, 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.8589/0.8589, allocations: 177.1 MB / 204.3 MB, free: 5.746 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.232/0.232, allocations: 32.78 MB / 293.5 MB, free: 1.219 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.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.281e-05/1.451e-05, allocations: 5.094 kB / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.001853/0.001868, allocations: 1.616 MB / 441.2 MB, free: 2.613 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008115/0.002679, allocations: 0.518 MB / 441.7 MB, free: 2.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.946e-05/0.002719, allocations: 3.938 kB / 441.7 MB, free: 2.086 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003725/0.003091, allocations: 455 kB / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003065/0.003398, allocations: 291.2 kB / 442.5 MB, free: 1.355 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.003596, allocations: 130.6 kB / 442.6 MB, free: 1.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.003752, allocations: 167.6 kB / 442.8 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.055e-05/0.003833, allocations: 8.188 kB / 442.8 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.142e-05/0.003924, allocations: 115.8 kB / 442.9 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.004084, allocations: 235.6 kB / 443.1 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.004098, allocations: 4 kB / 443.1 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.919e-05/0.004147, allocations: 27.97 kB / 443.1 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.695e-05/0.004224, allocations: 79.72 kB / 443.2 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/0.004254, allocations: 35.75 kB / 443.2 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.004451, allocations: 246.9 kB / 443.5 MB, free: 336 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.004452, allocations: 0 / 443.5 MB, free: 336 kB / 410.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.004453, allocations: 0 / 443.5 MB, free: 336 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.004458, allocations: 0 / 443.5 MB, free: 336 kB / 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.1531/0.1576, allocations: 0.5678 MB / 444.1 MB, free: 46.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1576, allocations: 11.16 kB / 444.1 MB, free: 46.6 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.321e-05/0.1576, allocations: 30.75 kB / 444.1 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.1577, allocations: 47.66 kB / 444.1 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.1578, allocations: 246.5 kB / 444.4 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.136e-06/0.1579, allocations: 1.75 kB / 444.4 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-06/0.1579, allocations: 3.25 kB / 444.4 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.158, allocations: 46 kB / 444.4 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.158, allocations: 1.406 kB / 444.4 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.158, allocations: 1.969 kB / 444.4 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.158, allocations: 3.938 kB / 444.4 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.423e-05/0.158, allocations: 24.23 kB / 444.5 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002815/0.1583, allocations: 344.4 kB / 444.8 MB, free: 46.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6e-05/0.1584, allocations: 27.89 kB / 444.8 MB, free: 46.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.594e-05/0.1584, allocations: 20.09 kB / 444.8 MB, free: 46.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.1584, allocations: 3.375 kB / 444.8 MB, free: 46.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.248e-05/0.1584, allocations: 31.44 kB / 444.9 MB, free: 46.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1584, allocations: 0 / 444.9 MB, free: 46.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001636/0.1586, allocations: 102 kB / 445 MB, free: 45.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.828e-05/0.1586, allocations: 57.09 kB / 445 MB, free: 45.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004185/0.159, allocations: 0.878 MB / 445.9 MB, free: 45.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-06/0.159, allocations: 25.7 kB / 445.9 MB, free: 45.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.286e-05/0.1591, allocations: 222.7 kB / 446.2 MB, free: 45.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.1591, allocations: 10.77 kB / 446.2 MB, free: 45.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/0.1591, allocations: 16.5 kB / 446.2 MB, free: 45.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.252e-05/0.1592, allocations: 361.3 kB / 446.5 MB, free: 45.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.289e-05/0.1592, allocations: 7.625 kB / 446.5 MB, free: 45.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.584e-05/0.1592, allocations: 9.781 kB / 446.6 MB, free: 45.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.715e-05/0.1593, allocations: 30.19 kB / 446.6 MB, free: 45.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1593, allocations: 0 / 446.6 MB, free: 45.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.225e-05/0.1593, allocations: 103.1 kB / 446.7 MB, free: 45.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.1593, allocations: 5.875 kB / 446.7 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1593, allocations: 0 / 446.7 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1594, allocations: 2.875 kB / 446.7 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.893e-05/0.1594, allocations: 7.297 kB / 446.7 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.1594, allocations: 0 / 446.7 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.716e-05/0.1594, allocations: 5.641 kB / 446.7 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-06/0.1594, allocations: 2.875 kB / 446.7 MB, free: 45.05 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 (2): * Single equations (assignments): 2 * 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 8.654e-05/0.1595, allocations: 212.6 kB / 446.9 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.1596, allocations: 46.78 kB / 447 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.1597, allocations: 111.6 kB / 447.1 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1597, allocations: 3.469 kB / 447.1 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1597, allocations: 0 / 447.1 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1597, allocations: 2.312 kB / 447.1 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.1598, allocations: 255.8 kB / 447.3 MB, free: 44.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1598, allocations: 3.938 kB / 447.3 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.439e-05/0.1598, allocations: 2.906 kB / 447.3 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1598, allocations: 6.156 kB / 447.3 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-06/0.1598, allocations: 0 / 447.3 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.1598, allocations: 0 / 447.3 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.1598, allocations: 0 / 447.3 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.851e-05/0.1599, allocations: 185.7 kB / 447.5 MB, free: 44.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.214e-05/0.1599, allocations: 43.94 kB / 447.6 MB, free: 44.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.1599, allocations: 2.719 kB / 447.6 MB, free: 44.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.788e-05/0.16, allocations: 7.219 kB / 447.6 MB, free: 44.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.969e-06/0.16, allocations: 2.875 kB / 447.6 MB, free: 44.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.16, allocations: 0 / 447.6 MB, free: 44.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002915/0.1603, allocations: 0.6587 MB / 448.2 MB, free: 44.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1603, allocations: 0 / 448.2 MB, free: 44.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000157/0.1604, allocations: 20.86 kB / 448.3 MB, free: 44.21 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 (2): * Single equations (assignments): 2 * 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.0006163/0.161, allocations: 0.997 MB / 449.3 MB, free: 43.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.431e-05/0.1611, allocations: 21.95 kB / 449.3 MB, free: 43.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.1611, allocations: 6.844 kB / 449.3 MB, free: 43.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.449e-05/0.1611, allocations: 9.172 kB / 449.3 MB, free: 43.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.1614, allocations: 29.81 kB / 449.3 MB, free: 43.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.163, allocations: 3.157 MB / 452.5 MB, free: 41.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.1631, allocations: 211.4 kB / 452.7 MB, free: 41.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.461e-05/0.1631, allocations: 12.19 kB / 452.7 MB, free: 41.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.592e-05/0.1631, allocations: 112.3 kB / 452.8 MB, free: 41.55 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1632, allocations: 0 / 452.8 MB, free: 41.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01441/0.1776, allocations: 6.42 MB / 459.2 MB, free: 39.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.868/7.045, allocations: 10.94 kB / 459.2 MB, free: 39.92 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.935123346745968]