Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 241.9 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1988/0.1988, allocations: 44.18 MB / 336.2 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 72.05 kB / 408 MB, free: 27.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1531, allocations: 60.82 MB / 468.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003668/0.1569, allocations: 1.765 MB / 470.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.1584, allocations: 0.8575 MB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.088e-05/0.1585, allocations: 0 / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.1589, allocations: 47.81 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002407/0.1592, allocations: 51.83 kB / 471.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004442/0.1596, allocations: 91.83 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002881/0.1599, allocations: 103.7 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.1601, allocations: 16.23 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.1602, allocations: 39.73 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.1603, allocations: 39.83 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.1604, allocations: 4 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1605, allocations: 43.98 kB / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.437e-05/0.1606, allocations: 23.92 kB / 471.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.816e-05/0.1606, allocations: 43.61 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.1609, allocations: 135.8 kB / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1609, allocations: 0 / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1609, allocations: 4 kB / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.1609, allocations: 0 / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007968/0.1617, allocations: 434.7 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.1618, allocations: 11.97 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.856e-05/0.1619, allocations: 38.73 kB / 472.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/0.1619, allocations: 16.75 kB / 472.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.1622, allocations: 212 kB / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.1623, allocations: 4.375 kB / 472.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.1623, allocations: 11.88 kB / 472.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.1625, allocations: 53.67 kB / 472.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1625, allocations: 4 kB / 472.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.1625, allocations: 4 kB / 472.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1625, allocations: 0 / 472.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.949e-05/0.1626, allocations: 19.98 kB / 472.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.163, allocations: 284.9 kB / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.1633, allocations: 66.61 kB / 473.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.95e-05/0.1633, allocations: 20.84 kB / 473.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/0.1634, allocations: 0 / 473.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003212/0.1637, allocations: 71.39 kB / 473.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.544e-06/0.1637, allocations: 0 / 473.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000773/0.1645, allocations: 197 kB / 473.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.1646, allocations: 51.41 kB / 473.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/0.1649, allocations: 266.9 kB / 473.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.1649, allocations: 25.7 kB / 473.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.781e-05/0.165, allocations: 112.1 kB / 473.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.1651, allocations: 23.7 kB / 474 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/0.1652, allocations: 29.7 kB / 474 MB, free: 9.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1653, allocations: 326.8 kB / 474.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.163e-05/0.1654, allocations: 31.92 kB / 474.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.1656, allocations: 33.7 kB / 474.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.1657, allocations: 49.72 kB / 474.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.1657, allocations: 0 / 474.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002022/0.1659, allocations: 109.4 kB / 474.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.1659, allocations: 8 kB / 474.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1659, allocations: 4.031 kB / 474.6 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.166, allocations: 0 / 474.6 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.1661, allocations: 12 kB / 474.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.1661, allocations: 7.984 kB / 474.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.934e-05/0.1661, allocations: 7.875 kB / 474.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.1662, allocations: 8.188 kB / 474.6 MB, free: 8.535 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001843/0.1663, allocations: 140.4 kB / 474.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.1664, allocations: 19.73 kB / 474.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.475e-05/0.1664, allocations: 25.39 kB / 474.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1665, allocations: 0 / 474.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1665, allocations: 4 kB / 474.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1665, allocations: 3.938 kB / 474.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007546/0.1672, allocations: 395.3 kB / 475.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1672, allocations: 0 / 475.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.413e-05/0.1673, allocations: 11.98 kB / 475.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1673, allocations: 3.938 kB / 475.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.1673, allocations: 8.031 kB / 475.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1673, allocations: 4 kB / 475.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1673, allocations: 0 / 475.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.1676, allocations: 200.1 kB / 475.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.189e-05/0.1677, allocations: 96.91 kB / 475.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.1677, allocations: 8.312 kB / 475.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.493e-05/0.1678, allocations: 0 / 475.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.1678, allocations: 15.98 kB / 475.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.1678, allocations: 4 kB / 475.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001793/0.168, allocations: 200.2 kB / 475.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.168, allocations: 0 / 475.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002855/0.1683, allocations: 20 kB / 475.7 MB, free: 7.297 MB / 350.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001606/0.1699, allocations: 1.114 MB / 476.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.1701, allocations: 55.92 kB / 476.9 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1701, allocations: 4.062 kB / 476.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.518e-05/0.1702, allocations: 35.92 kB / 476.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.1706, allocations: 27.97 kB / 477 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.1729, allocations: 1.828 MB / 478.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.1733, allocations: 0.7158 MB / 479.5 MB, free: 3.555 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.077e-05/0.1734, allocations: 21.17 kB / 479.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.077e-05/0.1734, allocations: 39.42 kB / 479.6 MB, free: 3.496 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1734, allocations: 0 / 479.6 MB, free: 3.496 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0146/0.188, allocations: 3.537 MB / 483.1 MB, free: 72 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/0.1883, allocations: 235.3 kB / 483.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.048/2.236, allocations: 0 / 483.3 MB, free: 15.81 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches