Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001848/0.001848, allocations: 122.2 kB / 18.5 MB, free: 4.562 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.001576/0.001576, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.525/1.525, 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.2402/0.2402, allocations: 44.9 MB / 355.8 MB, free: 12.34 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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",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.002091/0.002091, allocations: 59.91 kB / 0.4886 GB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1454, allocations: 65.43 MB / 0.5525 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003629/0.149, allocations: 1.627 MB / 0.554 GB, free: 8.496 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.1503, allocations: 0.5533 MB / 0.5546 GB, free: 7.938 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.1504, allocations: 0 / 0.5546 GB, free: 7.938 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.1508, allocations: 75.77 kB / 0.5547 GB, free: 7.863 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003396/0.1511, allocations: 103.6 kB / 0.5548 GB, free: 7.762 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.1515, allocations: 115.6 kB / 0.5549 GB, free: 7.648 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.1517, allocations: 87.73 kB / 0.555 GB, free: 7.562 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1518, allocations: 15.94 kB / 0.555 GB, free: 7.547 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.355e-05/0.1519, allocations: 31.91 kB / 0.555 GB, free: 7.516 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.152, allocations: 55.75 kB / 0.5551 GB, free: 7.461 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.152, allocations: 4 kB / 0.5551 GB, free: 7.457 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.1521, allocations: 47.98 kB / 0.5551 GB, free: 7.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.59e-05/0.1522, allocations: 23.91 kB / 0.5551 GB, free: 7.387 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.275e-05/0.1522, allocations: 23.81 kB / 0.5551 GB, free: 7.363 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.1524, allocations: 111.5 kB / 0.5553 GB, free: 7.254 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1524, allocations: 0 / 0.5553 GB, free: 7.254 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1524, allocations: 0 / 0.5553 GB, free: 7.254 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1524, allocations: 0 / 0.5553 GB, free: 7.254 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.000609/0.1531, allocations: 414.7 kB / 0.5556 GB, free: 6.801 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.1531, allocations: 8.031 kB / 0.5557 GB, free: 6.793 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.751e-05/0.1531, allocations: 4.188 kB / 0.5557 GB, free: 6.789 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.981e-05/0.1532, allocations: 38.75 kB / 0.5557 GB, free: 6.742 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.1532, allocations: 12.84 kB / 0.5557 GB, free: 6.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.1535, allocations: 202.3 kB / 0.5559 GB, free: 6.496 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.1535, allocations: 4.375 kB / 0.5559 GB, free: 6.492 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.1535, allocations: 8.125 kB / 0.5559 GB, free: 6.484 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.1537, allocations: 57.66 kB / 0.556 GB, free: 6.422 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1537, allocations: 0 / 0.556 GB, free: 6.422 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.1537, allocations: 0 / 0.556 GB, free: 6.422 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.1537, allocations: 4 kB / 0.556 GB, free: 6.418 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.1538, allocations: 31.97 kB / 0.556 GB, free: 6.387 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.1543, allocations: 304.7 kB / 0.5563 GB, free: 6.039 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.1544, allocations: 42.55 kB / 0.5563 GB, free: 5.988 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.228e-05/0.1545, allocations: 16.86 kB / 0.5564 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.1545, allocations: 7.984 kB / 0.5564 GB, free: 5.961 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.1546, allocations: 38.64 kB / 0.5564 GB, free: 5.914 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.1546, allocations: 0 / 0.5564 GB, free: 5.914 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009976/0.1556, allocations: 237.3 kB / 0.5566 GB, free: 5.676 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.1556, allocations: 63.28 kB / 0.5567 GB, free: 5.602 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.1558, allocations: 197.7 kB / 0.5569 GB, free: 5.395 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.1559, allocations: 29.7 kB / 0.5569 GB, free: 5.359 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.245e-05/0.1559, allocations: 108.1 kB / 0.557 GB, free: 5.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.156, allocations: 27.75 kB / 0.557 GB, free: 5.223 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.156, allocations: 25.64 kB / 0.5571 GB, free: 5.191 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1562, allocations: 318.8 kB / 0.5574 GB, free: 4.871 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.91e-05/0.1563, allocations: 35.97 kB / 0.5574 GB, free: 4.836 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.747e-05/0.1563, allocations: 31.97 kB / 0.5574 GB, free: 4.805 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.1565, allocations: 72.83 kB / 0.5575 GB, free: 4.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1565, allocations: 0 / 0.5575 GB, free: 4.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002378/0.1568, allocations: 105.6 kB / 0.5576 GB, free: 4.621 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1568, allocations: 10.12 kB / 0.5576 GB, free: 4.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.1568, allocations: 320 / 0.5576 GB, free: 4.613 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.1568, allocations: 7.984 kB / 0.5576 GB, free: 4.605 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.1569, allocations: 16 kB / 0.5576 GB, free: 4.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.1569, allocations: 3.938 kB / 0.5576 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.921e-05/0.157, allocations: 11.98 kB / 0.5576 GB, free: 4.574 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.157, allocations: 3.984 kB / 0.5576 GB, free: 4.57 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 0.0001058/0.1571, allocations: 125.8 kB / 0.5578 GB, free: 4.438 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.1571, allocations: 11.91 kB / 0.5578 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003338/0.1575, allocations: 139 kB / 0.5579 GB, free: 4.277 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1575, allocations: 0 / 0.5579 GB, free: 4.277 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1575, allocations: 3.938 kB / 0.5579 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1575, allocations: 7.922 kB / 0.5579 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005953/0.1581, allocations: 415.3 kB / 0.5583 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.1581, allocations: 3.938 kB / 0.5583 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-05/0.1582, allocations: 16.03 kB / 0.5583 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.1582, allocations: 8 kB / 0.5583 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.1582, allocations: 3.984 kB / 0.5583 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1582, allocations: 0 / 0.5583 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.1582, allocations: 4 kB / 0.5584 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.1585, allocations: 212.2 kB / 0.5586 GB, free: 3.539 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.653e-05/0.1585, allocations: 89 kB / 0.5586 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.1586, allocations: 8 kB / 0.5586 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.648e-05/0.1586, allocations: 7.984 kB / 0.5587 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.1587, allocations: 0 / 0.5587 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.1587, allocations: 7.984 kB / 0.5587 GB, free: 3.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.1588, allocations: 149.8 kB / 0.5588 GB, free: 3.266 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1588, allocations: 0 / 0.5588 GB, free: 3.266 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000275/0.1591, allocations: 27.92 kB / 0.5588 GB, free: 3.238 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.002298/0.1614, allocations: 1.108 MB / 0.5599 GB, free: 2.293 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002712/0.1617, allocations: 79.91 kB / 0.56 GB, free: 2.215 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1617, allocations: 0 / 0.56 GB, free: 2.215 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.1618, allocations: 35.92 kB / 0.56 GB, free: 2.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.1622, allocations: 21.23 kB / 0.56 GB, free: 2.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.1642, allocations: 1.69 MB / 0.5617 GB, free: 392 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.1646, allocations: 0.708 MB / 0.5624 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.842e-05/0.1647, allocations: 24.64 kB / 0.5624 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.597e-05/0.1648, allocations: 31.42 kB / 0.5624 GB, free: 15.59 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1648, allocations: 0 / 0.5624 GB, free: 15.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.1846, allocations: 3.165 MB / 0.5655 GB, free: 12.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.207/8.391, allocations: 11.05 kB / 0.5655 GB, free: 12.48 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.831100001989398]