Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001797/0.001797, allocations: 119.4 kB / 17.79 MB, free: 5.133 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.001672/0.001672, allocations: 216.2 kB / 20.75 MB, free: 2.18 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.608/1.608, allocations: 230.6 MB / 254.1 MB, free: 15.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2481/0.2481, allocations: 46.93 MB / 357.1 MB, free: 10.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 67.89 kB / 0.491 GB, free: 7.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1301, allocations: 65.99 MB / 0.5554 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003153/0.1333, allocations: 1.599 MB / 0.557 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.1344, allocations: 0.5338 MB / 0.5575 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.704e-05/0.1345, allocations: 0 / 0.5575 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.1347, allocations: 23.86 kB / 0.5575 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.135, allocations: 83.61 kB / 0.5576 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.1353, allocations: 91.7 kB / 0.5577 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.1354, allocations: 71.77 kB / 0.5577 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.787e-05/0.1355, allocations: 7.984 kB / 0.5577 GB, free: 3.332 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.935e-05/0.1356, allocations: 19.92 kB / 0.5578 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.263e-05/0.1356, allocations: 23.88 kB / 0.5578 GB, free: 3.289 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.1357, allocations: 0 / 0.5578 GB, free: 3.289 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.23e-05/0.1357, allocations: 35.97 kB / 0.5578 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.763e-05/0.1358, allocations: 15.92 kB / 0.5578 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.783e-05/0.1358, allocations: 19.81 kB / 0.5579 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.136, allocations: 87.59 kB / 0.5579 GB, free: 3.133 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.136, allocations: 0 / 0.5579 GB, free: 3.133 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.136, allocations: 0 / 0.5579 GB, free: 3.133 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.136, allocations: 0 / 0.5579 GB, free: 3.133 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.0005123/0.1365, allocations: 389 kB / 0.5583 GB, free: 2.707 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.1366, allocations: 8.031 kB / 0.5583 GB, free: 2.699 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.926e-05/0.1366, allocations: 38.69 kB / 0.5584 GB, free: 2.652 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.1367, allocations: 12.88 kB / 0.5584 GB, free: 2.641 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.1369, allocations: 186.3 kB / 0.5585 GB, free: 2.422 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1369, allocations: 4.375 kB / 0.5585 GB, free: 2.418 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.1369, allocations: 384 / 0.5586 GB, free: 2.418 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.1371, allocations: 57.55 kB / 0.5586 GB, free: 2.355 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.1371, allocations: 7.938 kB / 0.5586 GB, free: 2.348 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.1371, allocations: 0 / 0.5586 GB, free: 2.348 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1371, allocations: 0 / 0.5586 GB, free: 2.348 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.1372, allocations: 23.98 kB / 0.5586 GB, free: 2.324 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.1376, allocations: 272.9 kB / 0.5589 GB, free: 2.008 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.1378, allocations: 46.5 kB / 0.5589 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.735e-05/0.1378, allocations: 16.94 kB / 0.559 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.1378, allocations: 0 / 0.559 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/0.1379, allocations: 34.56 kB / 0.559 GB, free: 1.891 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.1379, allocations: 0 / 0.559 GB, free: 1.891 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000581/0.1385, allocations: 145.4 kB / 0.5591 GB, free: 1.742 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.1385, allocations: 55.41 kB / 0.5592 GB, free: 1.676 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.1387, allocations: 150.1 kB / 0.5593 GB, free: 1.516 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.1387, allocations: 25.7 kB / 0.5593 GB, free: 1.484 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.185e-05/0.1388, allocations: 100.1 kB / 0.5594 GB, free: 1.383 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.1388, allocations: 15.86 kB / 0.5595 GB, free: 1.367 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.1388, allocations: 21.72 kB / 0.5595 GB, free: 1.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.139, allocations: 322.8 kB / 0.5598 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.912e-05/0.1391, allocations: 19.98 kB / 0.5598 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.962e-05/0.1392, allocations: 19.98 kB / 0.5598 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.1393, allocations: 45.02 kB / 0.5599 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1393, allocations: 0 / 0.5599 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002184/0.1395, allocations: 89.56 kB / 0.56 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1395, allocations: 4 kB / 0.56 GB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1395, allocations: 4 kB / 0.56 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1396, allocations: 0 / 0.56 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.45e-05/0.1396, allocations: 11.98 kB / 0.56 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1396, allocations: 0 / 0.56 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.838e-05/0.1397, allocations: 11.92 kB / 0.56 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.1397, allocations: 7.922 kB / 0.56 GB, free: 0.7969 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 (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 0.0001069/0.1398, allocations: 124 kB / 0.5601 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.1398, allocations: 3.953 kB / 0.5601 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/0.1401, allocations: 93.91 kB / 0.5602 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1401, allocations: 4 kB / 0.5602 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1401, allocations: 0 / 0.5602 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1401, allocations: 0 / 0.5602 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004916/0.1406, allocations: 342.5 kB / 0.5605 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1406, allocations: 4 kB / 0.5605 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.158e-05/0.1407, allocations: 15.92 kB / 0.5606 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1407, allocations: 0 / 0.5606 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1407, allocations: 4.281 kB / 0.5606 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1407, allocations: 3.938 kB / 0.5606 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1407, allocations: 3.938 kB / 0.5606 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.141, allocations: 183.7 kB / 0.5607 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.85e-05/0.141, allocations: 89.03 kB / 0.5608 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.1411, allocations: 4 kB / 0.5608 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/0.1411, allocations: 3.938 kB / 0.5608 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.1412, allocations: 7.984 kB / 0.5608 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.1412, allocations: 0 / 0.5608 GB, free: 15.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.1413, allocations: 116.6 kB / 0.561 GB, free: 15.71 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1413, allocations: 0 / 0.561 GB, free: 15.71 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1415, allocations: 19.92 kB / 0.561 GB, free: 15.69 MB / 430.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 (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.002092/0.1436, allocations: 1.02 MB / 0.562 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.1438, allocations: 43.97 kB / 0.562 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1438, allocations: 7.938 kB / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.073e-05/0.1439, allocations: 27.97 kB / 0.562 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.1443, allocations: 11.94 kB / 0.5621 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.1462, allocations: 1.433 MB / 0.5635 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.1466, allocations: 0.703 MB / 0.5641 GB, free: 12.47 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.273e-05/0.1466, allocations: 7.859 kB / 0.5641 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.518e-05/0.1467, allocations: 27.42 kB / 0.5642 GB, free: 12.44 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1467, allocations: 0 / 0.5642 GB, free: 12.44 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/0.1751, allocations: 2.559 MB / 0.5667 GB, free: 9.918 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.246/8.422, allocations: 3.75 kB / 0.5667 GB, free: 9.918 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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: 11.767170520033687]