Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.001263/0.001263, allocations: 120.1 kB / 18.49 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.001327/0.001327, allocations: 215 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.531/1.531, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.259/0.259, allocations: 44.91 MB / 355.8 MB, free: 12.33 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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15",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.002259/0.002259, allocations: 73.91 kB / 0.4886 GB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1505, allocations: 65.41 MB / 0.5525 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.003871/0.1544, allocations: 1.63 MB / 0.554 GB, free: 8.461 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.1556, allocations: 0.5338 MB / 0.5546 GB, free: 7.922 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.956e-05/0.1557, allocations: 4 kB / 0.5546 GB, free: 7.918 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003365/0.1561, allocations: 71.77 kB / 0.5546 GB, free: 7.848 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004558/0.1565, allocations: 111.6 kB / 0.5547 GB, free: 7.738 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.1569, allocations: 103.6 kB / 0.5548 GB, free: 7.637 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.1571, allocations: 83.75 kB / 0.5549 GB, free: 7.555 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.1573, allocations: 19.91 kB / 0.5549 GB, free: 7.535 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.483e-05/0.1574, allocations: 27.92 kB / 0.555 GB, free: 7.508 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.1575, allocations: 67.73 kB / 0.555 GB, free: 7.441 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.1575, allocations: 4 kB / 0.555 GB, free: 7.438 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.1577, allocations: 43.98 kB / 0.5551 GB, free: 7.395 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.417e-05/0.1577, allocations: 23.91 kB / 0.5551 GB, free: 7.371 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.144e-05/0.1578, allocations: 27.75 kB / 0.5551 GB, free: 7.344 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.1581, allocations: 111.5 kB / 0.5552 GB, free: 7.234 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1581, allocations: 4 kB / 0.5552 GB, free: 7.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1581, allocations: 0 / 0.5552 GB, free: 7.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.1581, allocations: 0 / 0.5552 GB, free: 7.23 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.0007022/0.1588, allocations: 416.6 kB / 0.5556 GB, free: 6.777 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.1589, allocations: 12.03 kB / 0.5557 GB, free: 6.766 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.14e-05/0.1589, allocations: 192 / 0.5557 GB, free: 6.766 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.1589, allocations: 34.75 kB / 0.5557 GB, free: 6.723 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.634e-05/0.159, allocations: 20.83 kB / 0.5557 GB, free: 6.703 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.1593, allocations: 207.1 kB / 0.5559 GB, free: 6.461 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1593, allocations: 4.375 kB / 0.5559 GB, free: 6.457 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.1593, allocations: 8.109 kB / 0.5559 GB, free: 6.449 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.1595, allocations: 53.69 kB / 0.556 GB, free: 6.391 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1595, allocations: 0 / 0.556 GB, free: 6.391 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.1595, allocations: 0 / 0.556 GB, free: 6.391 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1595, allocations: 3.984 kB / 0.556 GB, free: 6.387 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.1596, allocations: 27.97 kB / 0.556 GB, free: 6.359 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004899/0.1601, allocations: 300.8 kB / 0.5563 GB, free: 6.016 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.1603, allocations: 34.56 kB / 0.5563 GB, free: 5.973 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.901e-05/0.1603, allocations: 20.94 kB / 0.5563 GB, free: 5.949 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.1604, allocations: 0 / 0.5563 GB, free: 5.949 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.1604, allocations: 34.56 kB / 0.5564 GB, free: 5.906 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1604, allocations: 0 / 0.5564 GB, free: 5.906 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.00101/0.1614, allocations: 229.3 kB / 0.5566 GB, free: 5.676 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/0.1615, allocations: 59.28 kB / 0.5566 GB, free: 5.605 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.1617, allocations: 214.3 kB / 0.5568 GB, free: 5.387 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.1618, allocations: 25.7 kB / 0.5569 GB, free: 5.355 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.558e-05/0.1618, allocations: 116.1 kB / 0.557 GB, free: 5.238 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.1619, allocations: 27.75 kB / 0.557 GB, free: 5.211 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.958e-05/0.1619, allocations: 17.72 kB / 0.557 GB, free: 5.188 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.1621, allocations: 322.8 kB / 0.5573 GB, free: 4.863 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.471e-05/0.1622, allocations: 27.97 kB / 0.5574 GB, free: 4.836 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.846e-05/0.1623, allocations: 27.92 kB / 0.5574 GB, free: 4.809 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.1624, allocations: 72.77 kB / 0.5575 GB, free: 4.734 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1624, allocations: 0 / 0.5575 GB, free: 4.734 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002462/0.1627, allocations: 93.86 kB / 0.5575 GB, free: 4.637 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1627, allocations: 11.94 kB / 0.5576 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1627, allocations: 0 / 0.5576 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.1627, allocations: 3.984 kB / 0.5576 GB, free: 4.621 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.1628, allocations: 16 kB / 0.5576 GB, free: 4.605 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.1629, allocations: 8 kB / 0.5576 GB, free: 4.598 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.189e-05/0.1629, allocations: 11.98 kB / 0.5576 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.1629, allocations: 0 / 0.5576 GB, free: 4.586 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.0001368/0.1631, allocations: 132 kB / 0.5577 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.1631, allocations: 11.91 kB / 0.5577 GB, free: 4.438 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003133/0.1634, allocations: 119 kB / 0.5578 GB, free: 4.309 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1634, allocations: 4 kB / 0.5579 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.1634, allocations: 3.938 kB / 0.5579 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1634, allocations: 4 kB / 0.5579 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006576/0.1641, allocations: 407.3 kB / 0.5582 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.1641, allocations: 3.938 kB / 0.5583 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.782e-05/0.1642, allocations: 15.98 kB / 0.5583 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.345e-06/0.1642, allocations: 4 kB / 0.5583 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1642, allocations: 0 / 0.5583 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1642, allocations: 0 / 0.5583 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1642, allocations: 4.031 kB / 0.5583 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.1645, allocations: 204.3 kB / 0.5585 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.81e-05/0.1646, allocations: 92.95 kB / 0.5586 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.1646, allocations: 0 / 0.5586 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.491e-05/0.1647, allocations: 8.406 kB / 0.5586 GB, free: 3.477 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.1647, allocations: 8 kB / 0.5586 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.1647, allocations: 8 kB / 0.5586 GB, free: 3.461 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001789/0.1649, allocations: 168.2 kB / 0.5587 GB, free: 3.297 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1649, allocations: 0 / 0.5587 GB, free: 3.297 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.1652, allocations: 19.94 kB / 0.5588 GB, free: 3.277 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.002409/0.1676, allocations: 1.096 MB / 0.5598 GB, free: 2.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002733/0.1679, allocations: 71.92 kB / 0.5599 GB, free: 2.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1679, allocations: 4 kB / 0.5599 GB, free: 2.266 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.168, allocations: 31.92 kB / 0.5599 GB, free: 2.234 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.1684, allocations: 23.91 kB / 0.56 GB, free: 2.211 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.1709, allocations: 1.669 MB / 0.5616 GB, free: 468 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.1713, allocations: 0.708 MB / 0.5623 GB, free: 15.72 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.893e-05/0.1713, allocations: 12.59 kB / 0.5623 GB, free: 15.71 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.277e-05/0.1714, allocations: 35.42 kB / 0.5623 GB, free: 15.68 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1714, allocations: 4 kB / 0.5623 GB, free: 15.67 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.1951, allocations: 3.158 MB / 0.5654 GB, free: 12.58 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.636/8.831, allocations: 23.05 kB / 0.5654 GB, free: 12.56 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.203239711991046]