Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001686/0.001686, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.002051/0.002051, allocations: 217.4 kB / 21.46 MB, free: 1.605 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.595/1.595, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.2473/0.2473, allocations: 44.91 MB / 355.8 MB, free: 12.31 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.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",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.001956/0.001956, allocations: 59.91 kB / 0.4886 GB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1328, allocations: 65.42 MB / 0.5525 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003684/0.1364, allocations: 1.614 MB / 0.554 GB, free: 8.492 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.1377, allocations: 0.5689 MB / 0.5546 GB, free: 7.918 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.1378, allocations: 0 / 0.5546 GB, free: 7.918 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.1381, allocations: 23.86 kB / 0.5546 GB, free: 7.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003503/0.1385, allocations: 83.61 kB / 0.5547 GB, free: 7.812 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.1388, allocations: 123.1 kB / 0.5548 GB, free: 7.695 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.139, allocations: 67.78 kB / 0.5549 GB, free: 7.629 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.1391, allocations: 19.91 kB / 0.5549 GB, free: 7.609 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.373e-05/0.1392, allocations: 23.92 kB / 0.5549 GB, free: 7.586 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.354e-05/0.1393, allocations: 31.86 kB / 0.5549 GB, free: 7.555 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.1393, allocations: 7.984 kB / 0.5549 GB, free: 7.547 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002423/0.1396, allocations: 95.88 kB / 0.555 GB, free: 7.453 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.407e-05/0.1396, allocations: 19.91 kB / 0.5551 GB, free: 7.434 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.1397, allocations: 23.81 kB / 0.5551 GB, free: 7.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003123/0.14, allocations: 147.5 kB / 0.5552 GB, free: 7.266 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.14, allocations: 4 kB / 0.5552 GB, free: 7.262 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.14, allocations: 0 / 0.5552 GB, free: 7.262 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.14, allocations: 0 / 0.5552 GB, free: 7.262 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.0006107/0.1406, allocations: 410.7 kB / 0.5556 GB, free: 6.812 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.1406, allocations: 12.03 kB / 0.5556 GB, free: 6.801 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.837e-05/0.1407, allocations: 192 / 0.5556 GB, free: 6.801 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.327e-05/0.1407, allocations: 34.75 kB / 0.5557 GB, free: 6.758 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.1407, allocations: 8.891 kB / 0.5557 GB, free: 6.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.141, allocations: 200.2 kB / 0.5559 GB, free: 6.516 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.141, allocations: 384 / 0.5559 GB, free: 6.516 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.141, allocations: 4.125 kB / 0.5559 GB, free: 6.512 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.1412, allocations: 71.33 kB / 0.5559 GB, free: 6.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1412, allocations: 0 / 0.5559 GB, free: 6.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.1412, allocations: 0 / 0.5559 GB, free: 6.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1412, allocations: 0 / 0.5559 GB, free: 6.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.1413, allocations: 23.98 kB / 0.556 GB, free: 6.406 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005075/0.1418, allocations: 296.9 kB / 0.5562 GB, free: 6.066 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.142, allocations: 50.5 kB / 0.5563 GB, free: 6.008 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.362e-05/0.142, allocations: 24.94 kB / 0.5563 GB, free: 5.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.142, allocations: 0 / 0.5563 GB, free: 5.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.1421, allocations: 46.55 kB / 0.5564 GB, free: 5.926 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1421, allocations: 0 / 0.5564 GB, free: 5.926 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006933/0.1428, allocations: 177.5 kB / 0.5565 GB, free: 5.746 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.1428, allocations: 85.09 kB / 0.5566 GB, free: 5.645 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.143, allocations: 163.6 kB / 0.5568 GB, free: 5.477 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.143, allocations: 25.7 kB / 0.5568 GB, free: 5.445 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/0.1431, allocations: 96.14 kB / 0.5569 GB, free: 5.348 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.1431, allocations: 23.78 kB / 0.5569 GB, free: 5.324 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.1432, allocations: 21.72 kB / 0.5569 GB, free: 5.297 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1433, allocations: 322.8 kB / 0.5572 GB, free: 4.973 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.632e-05/0.1434, allocations: 27.97 kB / 0.5573 GB, free: 4.945 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.1435, allocations: 53.69 kB / 0.5573 GB, free: 4.887 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.1437, allocations: 72.84 kB / 0.5574 GB, free: 4.812 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1437, allocations: 0 / 0.5574 GB, free: 4.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002595/0.144, allocations: 109.6 kB / 0.5575 GB, free: 4.699 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.144, allocations: 4 kB / 0.5575 GB, free: 4.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.144, allocations: 0 / 0.5575 GB, free: 4.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.144, allocations: 0 / 0.5575 GB, free: 4.695 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.1441, allocations: 23.92 kB / 0.5575 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1441, allocations: 0 / 0.5575 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.732e-05/0.1442, allocations: 15.94 kB / 0.5575 GB, free: 4.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.1442, allocations: 0 / 0.5575 GB, free: 4.656 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 (8): * Single equations (assignments): 8 * 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 9.323e-05/0.1443, allocations: 117.8 kB / 0.5576 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.1443, allocations: 7.953 kB / 0.5576 GB, free: 4.523 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002983/0.1446, allocations: 114.3 kB / 0.5578 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1446, allocations: 0 / 0.5578 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1446, allocations: 0 / 0.5578 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1446, allocations: 7.938 kB / 0.5578 GB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005558/0.1452, allocations: 398.4 kB / 0.5581 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1452, allocations: 0 / 0.5581 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.227e-05/0.1453, allocations: 15.94 kB / 0.5582 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.1453, allocations: 7.938 kB / 0.5582 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.1453, allocations: 3.984 kB / 0.5582 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1453, allocations: 0 / 0.5582 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1453, allocations: 4 kB / 0.5582 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.1456, allocations: 195.8 kB / 0.5584 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.561e-05/0.1456, allocations: 85 kB / 0.5584 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.1457, allocations: 8 kB / 0.5584 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.899e-05/0.1457, allocations: 7.922 kB / 0.5585 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.432e-05/0.1458, allocations: 4 kB / 0.5585 GB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.1458, allocations: 8 kB / 0.5585 GB, free: 3.582 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.1459, allocations: 117.8 kB / 0.5586 GB, free: 3.469 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1459, allocations: 0 / 0.5586 GB, free: 3.469 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003153/0.1462, allocations: 43.86 kB / 0.5586 GB, free: 3.426 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 (7): * Single equations (assignments): 7 * 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.002383/0.1486, allocations: 1.138 MB / 0.5597 GB, free: 2.457 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.1489, allocations: 67.89 kB / 0.5598 GB, free: 2.391 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1489, allocations: 0 / 0.5598 GB, free: 2.391 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.149, allocations: 35.97 kB / 0.5598 GB, free: 2.355 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.1493, allocations: 12.31 kB / 0.5598 GB, free: 2.344 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.1514, allocations: 1.544 MB / 0.5613 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.1517, allocations: 0.6963 MB / 0.562 GB, free: 0 / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.1518, allocations: 20.64 kB / 0.562 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.407e-05/0.1519, allocations: 27.42 kB / 0.5621 GB, free: 15.95 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1519, allocations: 0 / 0.5621 GB, free: 15.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02021/0.1721, allocations: 3.566 MB / 0.5656 GB, free: 12.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.505/8.677, allocations: 4.062 kB / 0.5656 GB, free: 12.39 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.022633346961811]