Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001324/0.001324, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001659/0.001659, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.506/1.506, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2546/0.2546, allocations: 46.93 MB / 357.1 MB, free: 10.28 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.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 75.88 kB / 0.491 GB, free: 7.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1374, allocations: 65.98 MB / 0.5554 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003925/0.1414, allocations: 1.672 MB / 0.557 GB, free: 4.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.1428, allocations: 0.5883 MB / 0.5576 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.1429, allocations: 0 / 0.5576 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007498/0.1437, allocations: 455.1 kB / 0.558 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006581/0.1443, allocations: 291.3 kB / 0.5583 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000624/0.1449, allocations: 183.2 kB / 0.5585 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000384/0.1453, allocations: 175.6 kB / 0.5587 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.1455, allocations: 15.98 kB / 0.5587 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.1457, allocations: 119.7 kB / 0.5588 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004845/0.1462, allocations: 251.5 kB / 0.559 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.1462, allocations: 4 kB / 0.559 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.1463, allocations: 27.98 kB / 0.5591 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.1465, allocations: 91.61 kB / 0.5591 GB, free: 1.918 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.1466, allocations: 107 kB / 0.5592 GB, free: 1.812 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005978/0.1472, allocations: 278.5 kB / 0.5595 GB, free: 1.539 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1472, allocations: 4 kB / 0.5595 GB, free: 1.535 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1472, allocations: 0 / 0.5595 GB, free: 1.535 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.1472, allocations: 3.938 kB / 0.5595 GB, free: 1.531 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001164/0.1484, allocations: 0.6762 MB / 0.5602 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.1484, allocations: 12.03 kB / 0.5602 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.459e-05/0.1485, allocations: 30.75 kB / 0.5602 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.825e-05/0.1486, allocations: 48.64 kB / 0.5603 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.1489, allocations: 308.6 kB / 0.5606 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1489, allocations: 384 / 0.5606 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.1489, allocations: 8.375 kB / 0.5606 GB, free: 364 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.1491, allocations: 61.61 kB / 0.5606 GB, free: 296 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.1492, allocations: 7.922 kB / 0.5606 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1492, allocations: 0 / 0.5606 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1492, allocations: 0 / 0.5606 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.1493, allocations: 39.97 kB / 0.5607 GB, free: 248 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006568/0.15, allocations: 416.7 kB / 0.5611 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.1501, allocations: 42.55 kB / 0.5611 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.391e-05/0.1502, allocations: 28.88 kB / 0.5611 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.1502, allocations: 0 / 0.5611 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.1503, allocations: 34.56 kB / 0.5612 GB, free: 15.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 3.327e-06/0.1503, allocations: 7.938 kB / 0.5612 GB, free: 15.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.001056/0.1514, allocations: 312.6 kB / 0.5615 GB, free: 15.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.1514, allocations: 51.41 kB / 0.5615 GB, free: 15.28 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.1527, allocations: 0.8815 MB / 0.5624 GB, free: 14.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.1527, allocations: 29.7 kB / 0.5624 GB, free: 14.35 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.1529, allocations: 216 kB / 0.5626 GB, free: 14.13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.1529, allocations: 27.78 kB / 0.5626 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.153, allocations: 17.72 kB / 0.5627 GB, free: 14.08 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.1532, allocations: 366.8 kB / 0.563 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.1533, allocations: 35.97 kB / 0.563 GB, free: 13.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.1535, allocations: 39.97 kB / 0.5631 GB, free: 13.64 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.1537, allocations: 92.84 kB / 0.5632 GB, free: 13.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1537, allocations: 0 / 0.5632 GB, free: 13.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000358/0.1541, allocations: 161.2 kB / 0.5633 GB, free: 13.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1541, allocations: 4 kB / 0.5633 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1541, allocations: 4 kB / 0.5633 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.1541, allocations: 3.984 kB / 0.5633 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.1543, allocations: 19.98 kB / 0.5634 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.84e-06/0.1543, allocations: 320 / 0.5634 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.1544, allocations: 19.92 kB / 0.5634 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.1544, allocations: 0 / 0.5634 GB, free: 13.33 MB / 430.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 (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 prepare postOptimizeDAE: time 0.0002137/0.1547, allocations: 216 kB / 0.5636 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.945e-05/0.1547, allocations: 47.7 kB / 0.5636 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004339/0.1552, allocations: 185.5 kB / 0.5638 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1552, allocations: 3.938 kB / 0.5638 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1552, allocations: 0 / 0.5638 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.1552, allocations: 4.219 kB / 0.5638 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007583/0.1559, allocations: 0.5179 MB / 0.5643 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1559, allocations: 4 kB / 0.5643 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.156e-05/0.156, allocations: 19.98 kB / 0.5643 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.156, allocations: 3.984 kB / 0.5643 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.156, allocations: 7.938 kB / 0.5644 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.156, allocations: 0 / 0.5644 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.156, allocations: 0 / 0.5644 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000408/0.1564, allocations: 267.1 kB / 0.5646 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.042e-05/0.1565, allocations: 112.8 kB / 0.5647 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.1566, allocations: 7.938 kB / 0.5647 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.1567, allocations: 11.98 kB / 0.5647 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.1567, allocations: 4 kB / 0.5647 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.1567, allocations: 3.938 kB / 0.5647 GB, free: 11.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007128/0.1574, allocations: 0.6628 MB / 0.5654 GB, free: 11.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1574, allocations: 0 / 0.5654 GB, free: 11.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.1577, allocations: 28 kB / 0.5654 GB, free: 11.13 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 (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.002173/0.1599, allocations: 1.09 MB / 0.5665 GB, free: 10.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003339/0.1602, allocations: 95.84 kB / 0.5666 GB, free: 10.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1602, allocations: 0 / 0.5666 GB, free: 10.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.1604, allocations: 43.97 kB / 0.5666 GB, free: 10.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.1608, allocations: 26.23 kB / 0.5666 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004684/0.1655, allocations: 3.386 MB / 0.5699 GB, free: 6.543 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005009/0.166, allocations: 0.8299 MB / 0.5708 GB, free: 5.684 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.436e-05/0.166, allocations: 20.66 kB / 0.5708 GB, free: 5.664 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.1662, allocations: 123.4 kB / 0.5709 GB, free: 5.543 MB / 430.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1662, allocations: 0 / 0.5709 GB, free: 5.543 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/0.1959, allocations: 6.294 MB / 0.577 GB, free: 15.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.8/8.996, allocations: 3.125 kB / 0.577 GB, free: 15.3 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.100501728942618]