Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001926/0.001926, 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.00235/0.00235, 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.593/1.593, 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.2477/0.2477, allocations: 44.92 MB / 355.8 MB, free: 12.3 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.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",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.002036/0.002036, allocations: 63.89 kB / 0.4886 GB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1514, allocations: 65.43 MB / 0.5525 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003232/0.1547, allocations: 1.599 MB / 0.554 GB, free: 8.492 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.1558, allocations: 0.5338 MB / 0.5545 GB, free: 7.953 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.943e-05/0.1559, allocations: 3.938 kB / 0.5545 GB, free: 7.949 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.1561, allocations: 19.86 kB / 0.5546 GB, free: 7.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003478/0.1565, allocations: 79.67 kB / 0.5546 GB, free: 7.852 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.1568, allocations: 91.64 kB / 0.5547 GB, free: 7.762 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.157, allocations: 75.77 kB / 0.5548 GB, free: 7.688 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.1571, allocations: 11.94 kB / 0.5548 GB, free: 7.676 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.509e-05/0.1572, allocations: 19.92 kB / 0.5548 GB, free: 7.656 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.096e-05/0.1573, allocations: 23.86 kB / 0.5549 GB, free: 7.633 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.1573, allocations: 7.938 kB / 0.5549 GB, free: 7.625 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1574, allocations: 31.97 kB / 0.5549 GB, free: 7.594 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.73e-05/0.1575, allocations: 11.94 kB / 0.5549 GB, free: 7.582 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.372e-05/0.1575, allocations: 23.8 kB / 0.5549 GB, free: 7.559 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.1578, allocations: 79.72 kB / 0.555 GB, free: 7.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1578, allocations: 0 / 0.555 GB, free: 7.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1578, allocations: 4 kB / 0.555 GB, free: 7.477 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1578, allocations: 0 / 0.555 GB, free: 7.477 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.0007433/0.1585, allocations: 386.9 kB / 0.5554 GB, free: 7.051 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.1586, allocations: 12.03 kB / 0.5554 GB, free: 7.039 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.883e-05/0.1586, allocations: 192 / 0.5554 GB, free: 7.039 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.247e-05/0.1586, allocations: 34.69 kB / 0.5554 GB, free: 6.996 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.1587, allocations: 8.891 kB / 0.5554 GB, free: 6.988 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.1589, allocations: 184.3 kB / 0.5556 GB, free: 6.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.159, allocations: 4.375 kB / 0.5556 GB, free: 6.766 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.159, allocations: 12.12 kB / 0.5556 GB, free: 6.754 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.1591, allocations: 49.62 kB / 0.5557 GB, free: 6.699 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.1592, allocations: 7.984 kB / 0.5557 GB, free: 6.691 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1592, allocations: 0 / 0.5557 GB, free: 6.691 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1592, allocations: 0 / 0.5557 GB, free: 6.691 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.1593, allocations: 23.97 kB / 0.5557 GB, free: 6.668 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/0.1598, allocations: 280.8 kB / 0.556 GB, free: 6.344 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.16, allocations: 42.56 kB / 0.556 GB, free: 6.293 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.82e-05/0.1601, allocations: 16.8 kB / 0.556 GB, free: 6.273 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.1601, allocations: 4.078 kB / 0.556 GB, free: 6.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.1601, allocations: 34.56 kB / 0.5561 GB, free: 6.227 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.1601, allocations: 0 / 0.5561 GB, free: 6.227 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006767/0.1608, allocations: 145.4 kB / 0.5562 GB, free: 6.078 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.1609, allocations: 51.41 kB / 0.5562 GB, free: 6.016 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.1611, allocations: 155.6 kB / 0.5564 GB, free: 5.852 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.1611, allocations: 29.7 kB / 0.5564 GB, free: 5.816 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.1612, allocations: 92.12 kB / 0.5565 GB, free: 5.723 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.876e-05/0.1612, allocations: 27.78 kB / 0.5565 GB, free: 5.695 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.1612, allocations: 21.72 kB / 0.5566 GB, free: 5.668 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.1614, allocations: 326.8 kB / 0.5569 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.796e-05/0.1615, allocations: 11.98 kB / 0.5569 GB, free: 5.328 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.174e-05/0.1616, allocations: 19.98 kB / 0.5569 GB, free: 5.309 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.1617, allocations: 44.84 kB / 0.5569 GB, free: 5.262 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1617, allocations: 0 / 0.5569 GB, free: 5.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002006/0.1619, allocations: 85.61 kB / 0.557 GB, free: 5.172 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1619, allocations: 6.188 kB / 0.557 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1619, allocations: 0 / 0.557 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.1619, allocations: 0 / 0.557 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.084e-05/0.162, allocations: 19.92 kB / 0.5571 GB, free: 5.148 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.162, allocations: 0 / 0.5571 GB, free: 5.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.993e-05/0.1621, allocations: 3.938 kB / 0.5571 GB, free: 5.145 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.1621, allocations: 4 kB / 0.5571 GB, free: 5.141 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.0001092/0.1622, allocations: 124 kB / 0.5572 GB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.1622, allocations: 7.953 kB / 0.5572 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002878/0.1625, allocations: 94.22 kB / 0.5573 GB, free: 4.902 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1625, allocations: 0 / 0.5573 GB, free: 4.902 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1625, allocations: 3.938 kB / 0.5573 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1625, allocations: 3.938 kB / 0.5573 GB, free: 4.895 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.163, allocations: 346.5 kB / 0.5576 GB, free: 4.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.163, allocations: 4 kB / 0.5576 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.597e-05/0.163, allocations: 12 kB / 0.5576 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.163, allocations: 0 / 0.5576 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.1631, allocations: 3.938 kB / 0.5576 GB, free: 4.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1631, allocations: 0 / 0.5576 GB, free: 4.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1631, allocations: 3.984 kB / 0.5576 GB, free: 4.477 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.1633, allocations: 179.4 kB / 0.5578 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.1635, allocations: 85.06 kB / 0.5579 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.1635, allocations: 3.938 kB / 0.5579 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.944e-05/0.1635, allocations: 7.984 kB / 0.5579 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.1636, allocations: 0 / 0.5579 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.1636, allocations: 11.94 kB / 0.5579 GB, free: 4.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001022/0.1637, allocations: 113 kB / 0.558 GB, free: 4.051 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1637, allocations: 4 kB / 0.558 GB, free: 4.047 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002436/0.1639, allocations: 12 kB / 0.558 GB, free: 4.035 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 (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.002166/0.1661, allocations: 1.018 MB / 0.559 GB, free: 3.152 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002401/0.1663, allocations: 43.91 kB / 0.5591 GB, free: 3.109 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1663, allocations: 4 kB / 0.5591 GB, free: 3.105 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.989e-05/0.1664, allocations: 27.92 kB / 0.5591 GB, free: 3.078 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.1669, allocations: 23.3 kB / 0.5591 GB, free: 3.059 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.1688, allocations: 1.441 MB / 0.5605 GB, free: 1.535 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.1691, allocations: 0.6929 MB / 0.5612 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.944e-05/0.1692, allocations: 19.83 kB / 0.5612 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.928e-05/0.1692, allocations: 19.44 kB / 0.5612 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.1692, allocations: 0 / 0.5612 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02239/0.1916, allocations: 2.6 MB / 0.5638 GB, free: 14.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.375/8.567, allocations: 7.875 kB / 0.5638 GB, free: 14.23 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 12.002617935009766]