Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001741/0.001741, allocations: 121 kB / 18.49 MB, free: 4.586 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.002053/0.002053, allocations: 213.5 kB / 21.45 MB, free: 1.637 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.568/1.568, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.2295/0.2295, allocations: 44.91 MB / 355.8 MB, free: 12.32 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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="cs",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.001979/0.001979, allocations: 67.89 kB / 0.4886 GB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1249, allocations: 65.42 MB / 0.5524 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003244/0.1282, allocations: 1.616 MB / 0.554 GB, free: 8.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1293, allocations: 0.5572 MB / 0.5546 GB, free: 7.938 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.171e-05/0.1293, allocations: 4 kB / 0.5546 GB, free: 7.934 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006626/0.13, allocations: 459.1 kB / 0.555 GB, free: 7.484 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005236/0.1305, allocations: 291.3 kB / 0.5553 GB, free: 7.199 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004839/0.131, allocations: 182.6 kB / 0.5555 GB, free: 7.027 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002561/0.1313, allocations: 167.6 kB / 0.5556 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.487e-05/0.1313, allocations: 8 kB / 0.5556 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.1315, allocations: 111.8 kB / 0.5557 GB, free: 6.746 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002894/0.1318, allocations: 247.5 kB / 0.556 GB, free: 6.504 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.1318, allocations: 4 kB / 0.556 GB, free: 6.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.828e-05/0.1319, allocations: 24 kB / 0.556 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.132, allocations: 87.62 kB / 0.5561 GB, free: 6.391 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.949e-05/0.1321, allocations: 107 kB / 0.5562 GB, free: 6.285 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.1324, allocations: 250.9 kB / 0.5564 GB, free: 6.039 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1324, allocations: 0 / 0.5564 GB, free: 6.039 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1324, allocations: 0 / 0.5564 GB, free: 6.039 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.85e-06/0.1324, allocations: 4 kB / 0.5564 GB, free: 6.035 MB / 414.1 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.0008177/0.1332, allocations: 0.6626 MB / 0.5571 GB, free: 5.324 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.1333, allocations: 12.03 kB / 0.5571 GB, free: 5.312 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.608e-05/0.1333, allocations: 4.188 kB / 0.5571 GB, free: 5.309 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.997e-05/0.1333, allocations: 34.75 kB / 0.5571 GB, free: 5.266 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.906e-05/0.1334, allocations: 40.66 kB / 0.5572 GB, free: 5.227 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.1337, allocations: 308.6 kB / 0.5575 GB, free: 4.883 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.1337, allocations: 4.375 kB / 0.5575 GB, free: 4.879 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.1337, allocations: 4.125 kB / 0.5575 GB, free: 4.875 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.1339, allocations: 49.69 kB / 0.5575 GB, free: 4.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1339, allocations: 0 / 0.5575 GB, free: 4.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.1339, allocations: 7.938 kB / 0.5575 GB, free: 4.812 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1339, allocations: 0 / 0.5575 GB, free: 4.812 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.596e-05/0.134, allocations: 31.91 kB / 0.5575 GB, free: 4.781 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005152/0.1345, allocations: 388.7 kB / 0.5579 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.738e-05/0.1346, allocations: 34.56 kB / 0.558 GB, free: 4.309 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.995e-05/0.1346, allocations: 16.91 kB / 0.558 GB, free: 4.289 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.1347, allocations: 0 / 0.558 GB, free: 4.289 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.1347, allocations: 42.5 kB / 0.558 GB, free: 4.238 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.1347, allocations: 0 / 0.558 GB, free: 4.238 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002851/0.135, allocations: 101.3 kB / 0.5581 GB, free: 4.133 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.135, allocations: 55.41 kB / 0.5582 GB, free: 4.066 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009913/0.136, allocations: 0.8738 MB / 0.559 GB, free: 3.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.136, allocations: 29.83 kB / 0.559 GB, free: 3.145 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.1362, allocations: 224.1 kB / 0.5593 GB, free: 2.922 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.1363, allocations: 7.953 kB / 0.5593 GB, free: 2.914 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.1363, allocations: 13.72 kB / 0.5593 GB, free: 2.895 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002131/0.1365, allocations: 366.7 kB / 0.5596 GB, free: 2.527 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.902e-05/0.1366, allocations: 8 kB / 0.5596 GB, free: 2.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.396e-05/0.1366, allocations: 15.92 kB / 0.5596 GB, free: 2.504 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.086e-05/0.1367, allocations: 28.91 kB / 0.5597 GB, free: 2.473 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1367, allocations: 0 / 0.5597 GB, free: 2.473 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001755/0.1369, allocations: 97.39 kB / 0.5598 GB, free: 2.371 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1369, allocations: 4 kB / 0.5598 GB, free: 2.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1369, allocations: 0 / 0.5598 GB, free: 2.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1369, allocations: 0 / 0.5598 GB, free: 2.367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.767e-05/0.137, allocations: 12 kB / 0.5598 GB, free: 2.355 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.137, allocations: 3.984 kB / 0.5598 GB, free: 2.352 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.096e-05/0.137, allocations: 8.031 kB / 0.5598 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.1371, allocations: 3.938 kB / 0.5598 GB, free: 2.34 MB / 414.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 (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 0.0002099/0.1373, allocations: 212 kB / 0.56 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.1373, allocations: 51.61 kB / 0.5601 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.1376, allocations: 112.7 kB / 0.5602 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.1376, allocations: 0 / 0.5602 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1376, allocations: 0 / 0.5602 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1376, allocations: 4 kB / 0.5602 GB, free: 1.953 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.1379, allocations: 293.5 kB / 0.5604 GB, free: 1.617 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1379, allocations: 4 kB / 0.5604 GB, free: 1.613 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.075e-05/0.1379, allocations: 7.984 kB / 0.5605 GB, free: 1.605 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1379, allocations: 0 / 0.5605 GB, free: 1.605 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.922e-06/0.1379, allocations: 0 / 0.5605 GB, free: 1.605 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1379, allocations: 0 / 0.5605 GB, free: 1.605 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1379, allocations: 0 / 0.5605 GB, free: 1.605 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.1382, allocations: 203.1 kB / 0.5606 GB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.1383, allocations: 112.8 kB / 0.5608 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.1383, allocations: 4 kB / 0.5608 GB, free: 1.258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/0.1384, allocations: 0 / 0.5608 GB, free: 1.258 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.056e-05/0.1384, allocations: 3.984 kB / 0.5608 GB, free: 1.254 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.1384, allocations: 4 kB / 0.5608 GB, free: 1.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007198/0.1391, allocations: 0.6628 MB / 0.5614 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1391, allocations: 0 / 0.5614 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000256/0.1394, allocations: 23.94 kB / 0.5614 GB, free: 0.5664 MB / 414.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 (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.001793/0.1412, allocations: 0.9726 MB / 0.5624 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.1413, allocations: 31.91 kB / 0.5624 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1413, allocations: 0 / 0.5624 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.574e-05/0.1414, allocations: 12 kB / 0.5624 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.1418, allocations: 31.84 kB / 0.5625 GB, free: 15.63 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/0.1457, allocations: 3.187 MB / 0.5656 GB, free: 12.35 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004795/0.1462, allocations: 0.8221 MB / 0.5664 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.228e-05/0.1462, allocations: 15.73 kB / 0.5664 GB, free: 11.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.1464, allocations: 115.4 kB / 0.5665 GB, free: 11.37 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1464, allocations: 0 / 0.5665 GB, free: 11.37 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/0.1693, allocations: 5.869 MB / 0.5722 GB, free: 5.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.992/9.161, allocations: 2.969 kB / 0.5722 GB, free: 5.57 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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: 12.472508100967389]