Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001386/0.001386, 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.001603/0.001603, 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.542/1.542, allocations: 230.6 MB / 254.8 MB, free: 15.2 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.2539/0.2539, allocations: 44.9 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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.001983/0.001983, allocations: 59.91 kB / 0.4886 GB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1474, allocations: 65.43 MB / 0.5525 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003723/0.1511, allocations: 1.624 MB / 0.5541 GB, free: 8.434 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.1522, allocations: 0.5299 MB / 0.5546 GB, free: 7.898 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.362e-05/0.1523, allocations: 7.938 kB / 0.5546 GB, free: 7.891 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.1526, allocations: 67.78 kB / 0.5546 GB, free: 7.824 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003417/0.1529, allocations: 115.6 kB / 0.5548 GB, free: 7.711 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.1532, allocations: 87.7 kB / 0.5548 GB, free: 7.625 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.1534, allocations: 79.75 kB / 0.5549 GB, free: 7.547 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.1535, allocations: 19.92 kB / 0.5549 GB, free: 7.527 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.278e-05/0.1536, allocations: 39.84 kB / 0.555 GB, free: 7.488 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.1537, allocations: 55.75 kB / 0.555 GB, free: 7.434 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.1537, allocations: 4 kB / 0.555 GB, free: 7.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1539, allocations: 43.98 kB / 0.5551 GB, free: 7.387 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.182e-05/0.1539, allocations: 23.91 kB / 0.5551 GB, free: 7.363 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.788e-05/0.154, allocations: 27.81 kB / 0.5551 GB, free: 7.336 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.1542, allocations: 103.5 kB / 0.5552 GB, free: 7.234 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1542, allocations: 7.938 kB / 0.5552 GB, free: 7.227 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1542, allocations: 0 / 0.5552 GB, free: 7.227 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1542, allocations: 0 / 0.5552 GB, free: 7.227 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.0006228/0.1548, allocations: 414.7 kB / 0.5556 GB, free: 6.773 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.1549, allocations: 8.031 kB / 0.5556 GB, free: 6.766 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.196e-05/0.1549, allocations: 4.188 kB / 0.5556 GB, free: 6.762 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.69e-05/0.1549, allocations: 38.75 kB / 0.5557 GB, free: 6.715 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.155, allocations: 12.84 kB / 0.5557 GB, free: 6.703 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.1552, allocations: 198.4 kB / 0.5559 GB, free: 6.473 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.1552, allocations: 384 / 0.5559 GB, free: 6.473 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.1553, allocations: 12.12 kB / 0.5559 GB, free: 6.461 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.1554, allocations: 61.58 kB / 0.5559 GB, free: 6.395 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.1555, allocations: 0 / 0.5559 GB, free: 6.395 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1555, allocations: 0 / 0.5559 GB, free: 6.395 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1555, allocations: 0 / 0.5559 GB, free: 6.395 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.1556, allocations: 31.98 kB / 0.556 GB, free: 6.363 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.1561, allocations: 292.7 kB / 0.5562 GB, free: 6.027 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.1562, allocations: 46.48 kB / 0.5563 GB, free: 5.973 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.585e-05/0.1563, allocations: 16.86 kB / 0.5563 GB, free: 5.953 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.1563, allocations: 3.984 kB / 0.5563 GB, free: 5.949 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.1563, allocations: 34.56 kB / 0.5563 GB, free: 5.906 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1563, allocations: 0 / 0.5563 GB, free: 5.906 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001013/0.1573, allocations: 225.3 kB / 0.5566 GB, free: 5.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.1574, allocations: 55.34 kB / 0.5566 GB, free: 5.613 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.1576, allocations: 205.7 kB / 0.5568 GB, free: 5.398 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.1577, allocations: 25.7 kB / 0.5568 GB, free: 5.367 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.429e-05/0.1578, allocations: 104.2 kB / 0.5569 GB, free: 5.262 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.1578, allocations: 35.67 kB / 0.557 GB, free: 5.227 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.1578, allocations: 25.7 kB / 0.557 GB, free: 5.195 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.158, allocations: 326.8 kB / 0.5573 GB, free: 4.867 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.094e-05/0.1581, allocations: 19.98 kB / 0.5573 GB, free: 4.848 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.221e-05/0.1582, allocations: 31.92 kB / 0.5574 GB, free: 4.816 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.1583, allocations: 56.83 kB / 0.5574 GB, free: 4.758 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1583, allocations: 4 kB / 0.5574 GB, free: 4.754 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002232/0.1586, allocations: 93.62 kB / 0.5575 GB, free: 4.656 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1586, allocations: 4 kB / 0.5575 GB, free: 4.652 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.1586, allocations: 4 kB / 0.5575 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.1586, allocations: 3.984 kB / 0.5575 GB, free: 4.645 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.1587, allocations: 19.94 kB / 0.5575 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.1587, allocations: 3.938 kB / 0.5575 GB, free: 4.621 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/0.1588, allocations: 7.984 kB / 0.5575 GB, free: 4.613 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.1588, allocations: 4 kB / 0.5575 GB, free: 4.609 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.0001341/0.1589, allocations: 125.8 kB / 0.5577 GB, free: 4.477 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.159, allocations: 11.91 kB / 0.5577 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003338/0.1593, allocations: 123.3 kB / 0.5578 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1593, allocations: 8 kB / 0.5578 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.1593, allocations: 3.938 kB / 0.5578 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1593, allocations: 3.938 kB / 0.5578 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005742/0.1599, allocations: 403.3 kB / 0.5582 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1599, allocations: 7.875 kB / 0.5582 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.717e-05/0.16, allocations: 15.98 kB / 0.5582 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.16, allocations: 8.031 kB / 0.5582 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.16, allocations: 0 / 0.5582 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.16, allocations: 0 / 0.5582 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.16, allocations: 0 / 0.5582 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002876/0.1603, allocations: 204.3 kB / 0.5584 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-05/0.1604, allocations: 92.94 kB / 0.5585 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.1604, allocations: 4 kB / 0.5585 GB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.756e-05/0.1605, allocations: 7.984 kB / 0.5585 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.1605, allocations: 4 kB / 0.5585 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.1605, allocations: 4 kB / 0.5585 GB, free: 3.484 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001578/0.1607, allocations: 153.8 kB / 0.5587 GB, free: 3.336 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1607, allocations: 0 / 0.5587 GB, free: 3.336 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.1609, allocations: 23.94 kB / 0.5587 GB, free: 3.312 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.002383/0.1633, allocations: 1.102 MB / 0.5598 GB, free: 2.371 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002339/0.1636, allocations: 55.97 kB / 0.5598 GB, free: 2.316 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1636, allocations: 0 / 0.5598 GB, free: 2.316 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.822e-05/0.1637, allocations: 35.91 kB / 0.5599 GB, free: 2.281 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.164, allocations: 20.55 kB / 0.5599 GB, free: 2.262 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.1663, allocations: 1.64 MB / 0.5615 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.1668, allocations: 0.708 MB / 0.5622 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.081e-05/0.1668, allocations: 12.67 kB / 0.5622 GB, free: 15.79 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.55e-05/0.1669, allocations: 35.42 kB / 0.5622 GB, free: 15.75 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1669, allocations: 0 / 0.5622 GB, free: 15.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/0.1867, allocations: 3.115 MB / 0.5653 GB, free: 12.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.511/8.698, allocations: 14.95 kB / 0.5653 GB, free: 12.69 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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: 12.059571479971055]