Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001286/0.001286, allocations: 116.2 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.001423/0.001423, allocations: 218.9 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.478/1.478, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2349/0.2349, allocations: 44.9 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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",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.002039/0.002039, allocations: 75.88 kB / 0.4886 GB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1446, allocations: 65.43 MB / 0.5525 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.004219/0.1488, allocations: 1.62 MB / 0.554 GB, free: 8.461 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.1499, allocations: 0.5533 MB / 0.5546 GB, free: 7.902 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.05e-05/0.15, allocations: 0 / 0.5546 GB, free: 7.902 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002973/0.1503, allocations: 83.69 kB / 0.5547 GB, free: 7.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002894/0.1506, allocations: 99.64 kB / 0.5548 GB, free: 7.723 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.1509, allocations: 111.6 kB / 0.5549 GB, free: 7.613 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.1511, allocations: 83.75 kB / 0.555 GB, free: 7.531 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1512, allocations: 23.91 kB / 0.555 GB, free: 7.508 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.726e-05/0.1512, allocations: 35.92 kB / 0.555 GB, free: 7.473 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.1514, allocations: 67.73 kB / 0.5551 GB, free: 7.406 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1514, allocations: 4 kB / 0.5551 GB, free: 7.402 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.1515, allocations: 47.92 kB / 0.5551 GB, free: 7.355 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.512e-05/0.1516, allocations: 23.91 kB / 0.5551 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.444e-05/0.1517, allocations: 27.75 kB / 0.5552 GB, free: 7.305 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.1519, allocations: 107.6 kB / 0.5553 GB, free: 7.199 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1519, allocations: 0 / 0.5553 GB, free: 7.199 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1519, allocations: 0 / 0.5553 GB, free: 7.199 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.1519, allocations: 4 kB / 0.5553 GB, free: 7.195 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.0006847/0.1526, allocations: 414.7 kB / 0.5557 GB, free: 6.742 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.1527, allocations: 12.03 kB / 0.5557 GB, free: 6.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.999e-05/0.1527, allocations: 4.125 kB / 0.5557 GB, free: 6.727 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.108e-05/0.1527, allocations: 34.73 kB / 0.5557 GB, free: 6.684 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.1528, allocations: 16.84 kB / 0.5557 GB, free: 6.668 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.153, allocations: 207.2 kB / 0.5559 GB, free: 6.426 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.1531, allocations: 4.375 kB / 0.5559 GB, free: 6.422 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.399e-05/0.1531, allocations: 8.125 kB / 0.5559 GB, free: 6.414 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.1533, allocations: 53.69 kB / 0.556 GB, free: 6.355 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.1533, allocations: 3.984 kB / 0.556 GB, free: 6.352 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.1533, allocations: 3.984 kB / 0.556 GB, free: 6.348 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-06/0.1533, allocations: 4 kB / 0.556 GB, free: 6.344 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.1534, allocations: 27.91 kB / 0.556 GB, free: 6.316 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000508/0.1539, allocations: 296.8 kB / 0.5563 GB, free: 5.977 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.154, allocations: 46.56 kB / 0.5564 GB, free: 5.922 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.546e-05/0.1541, allocations: 20.94 kB / 0.5564 GB, free: 5.898 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.1541, allocations: 4 kB / 0.5564 GB, free: 5.895 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.1542, allocations: 34.5 kB / 0.5564 GB, free: 5.852 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1542, allocations: 0 / 0.5564 GB, free: 5.852 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009588/0.1551, allocations: 245.2 kB / 0.5567 GB, free: 5.605 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.6e-05/0.1552, allocations: 55.34 kB / 0.5567 GB, free: 5.539 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.1555, allocations: 214.3 kB / 0.5569 GB, free: 5.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1555, allocations: 29.7 kB / 0.5569 GB, free: 5.285 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.588e-05/0.1556, allocations: 108.1 kB / 0.557 GB, free: 5.176 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.1556, allocations: 31.75 kB / 0.5571 GB, free: 5.145 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/0.1557, allocations: 25.64 kB / 0.5571 GB, free: 5.113 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002791/0.156, allocations: 322.8 kB / 0.5574 GB, free: 4.789 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.212e-05/0.1561, allocations: 31.92 kB / 0.5574 GB, free: 4.758 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.529e-05/0.1561, allocations: 39.97 kB / 0.5575 GB, free: 4.719 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.1563, allocations: 68.83 kB / 0.5575 GB, free: 4.648 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1563, allocations: 4 kB / 0.5575 GB, free: 4.645 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003596/0.1567, allocations: 113.5 kB / 0.5577 GB, free: 4.527 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1567, allocations: 4 kB / 0.5577 GB, free: 4.523 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1567, allocations: 3.984 kB / 0.5577 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1567, allocations: 0 / 0.5577 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.806e-05/0.1568, allocations: 16 kB / 0.5577 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.1568, allocations: 7.922 kB / 0.5577 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.1569, allocations: 8 kB / 0.5577 GB, free: 4.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.1569, allocations: 4 kB / 0.5577 GB, free: 4.484 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.0001056/0.157, allocations: 128 kB / 0.5578 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.157, allocations: 19.84 kB / 0.5578 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003268/0.1574, allocations: 131.3 kB / 0.558 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1574, allocations: 4 kB / 0.558 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.1574, allocations: 3.938 kB / 0.558 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1574, allocations: 0 / 0.558 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005778/0.158, allocations: 423.2 kB / 0.5584 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.158, allocations: 3.938 kB / 0.5584 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.46e-05/0.158, allocations: 19.98 kB / 0.5584 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.158, allocations: 0 / 0.5584 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.1581, allocations: 4 kB / 0.5584 GB, free: 3.684 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.1581, allocations: 3.938 kB / 0.5584 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1581, allocations: 4 kB / 0.5584 GB, free: 3.676 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.1584, allocations: 208.4 kB / 0.5586 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.158e-05/0.1584, allocations: 97.36 kB / 0.5587 GB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1584, allocations: 0 / 0.5587 GB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.402e-05/0.1585, allocations: 4 kB / 0.5587 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.1586, allocations: 7.984 kB / 0.5587 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.1586, allocations: 4 kB / 0.5587 GB, free: 3.324 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001559/0.1587, allocations: 168.2 kB / 0.5589 GB, free: 3.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1587, allocations: 0 / 0.5589 GB, free: 3.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000261/0.159, allocations: 23.94 kB / 0.5589 GB, free: 3.137 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.00238/0.1614, allocations: 1.111 MB / 0.56 GB, free: 2.188 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.1616, allocations: 79.88 kB / 0.5601 GB, free: 2.109 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1616, allocations: 0 / 0.5601 GB, free: 2.109 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.1617, allocations: 39.97 kB / 0.5601 GB, free: 2.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.1621, allocations: 21.23 kB / 0.5601 GB, free: 2.051 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.1645, allocations: 1.72 MB / 0.5618 GB, free: 252 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/0.165, allocations: 0.7157 MB / 0.5625 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.648e-05/0.1651, allocations: 20.64 kB / 0.5625 GB, free: 15.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.917e-05/0.1651, allocations: 31.42 kB / 0.5625 GB, free: 15.45 MB / 430.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1651, allocations: 0 / 0.5625 GB, free: 15.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01941/0.1846, allocations: 3.218 MB / 0.5657 GB, free: 12.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.501/8.685, allocations: 15.91 kB / 0.5657 GB, free: 12.29 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.87304665503325]