Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",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.000841/0.000841, allocations: 91.17 kB / 17.35 MB, free: 6.031 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.000907/0.000907, allocations: 174.5 kB / 18.26 MB, free: 5.391 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.33/1.33, allocations: 223.3 MB / 242.3 MB, free: 184 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1932/0.1932, allocations: 44.24 MB / 337.7 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003593, allocations: 12 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1469, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003767/0.1507, allocations: 1.425 MB / 473.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.1527, allocations: 0.8343 MB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.1528, allocations: 0 / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003855/0.1532, allocations: 39.89 kB / 474.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002673/0.1535, allocations: 47.77 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004918/0.154, allocations: 95.81 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003048/0.1543, allocations: 95.64 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.1545, allocations: 4.234 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.1547, allocations: 39.78 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.1548, allocations: 35.78 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.1548, allocations: 0 / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002083/0.1551, allocations: 43.98 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.1552, allocations: 19.92 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.1553, allocations: 57.44 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000323/0.1557, allocations: 107.9 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1557, allocations: 4 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1557, allocations: 0 / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.1557, allocations: 0 / 475.2 MB, free: 10.39 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.0008787/0.1566, allocations: 395.1 kB / 475.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.1566, allocations: 8.031 kB / 475.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.937e-05/0.1567, allocations: 34.75 kB / 475.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.1568, allocations: 16.75 kB / 475.7 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.1571, allocations: 204.1 kB / 475.9 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.1571, allocations: 4.375 kB / 475.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.1571, allocations: 3.938 kB / 475.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.1573, allocations: 53.67 kB / 475.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1573, allocations: 0 / 475.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1574, allocations: 0 / 475.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.1574, allocations: 7.984 kB / 475.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.211e-05/0.1575, allocations: 23.94 kB / 475.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004882/0.158, allocations: 288.9 kB / 476.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.1582, allocations: 50.69 kB / 476.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.155e-05/0.1582, allocations: 24.84 kB / 476.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.1583, allocations: 15.91 kB / 476.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.1585, allocations: 67.33 kB / 476.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.545e-06/0.1585, allocations: 0 / 476.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006902/0.1592, allocations: 177.2 kB / 476.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.1593, allocations: 55.41 kB / 476.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.1595, allocations: 186.1 kB / 476.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.1596, allocations: 29.69 kB / 476.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.591e-05/0.1596, allocations: 108.1 kB / 476.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.603e-05/0.1597, allocations: 23.7 kB / 476.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.963e-05/0.1597, allocations: 13.72 kB / 477 MB, free: 8.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1599, allocations: 322.8 kB / 477.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.995e-05/0.1599, allocations: 23.98 kB / 477.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.985e-05/0.16, allocations: 37.64 kB / 477.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.1602, allocations: 61.66 kB / 477.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1602, allocations: 0 / 477.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002242/0.1604, allocations: 105.5 kB / 477.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.1604, allocations: 7.938 kB / 477.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.1604, allocations: 4.375 kB / 477.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1605, allocations: 0 / 477.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.276e-05/0.1606, allocations: 15.98 kB / 477.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.1606, allocations: 4 kB / 477.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.302e-05/0.1606, allocations: 7.938 kB / 477.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.1607, allocations: 8.031 kB / 477.5 MB, free: 7.805 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.0001246/0.1608, allocations: 125.8 kB / 477.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.1608, allocations: 7.906 kB / 477.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.994e-05/0.1609, allocations: 12.72 kB / 477.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1609, allocations: 4 kB / 477.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1609, allocations: 0 / 477.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.1609, allocations: 3.938 kB / 477.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005588/0.1615, allocations: 395.3 kB / 478.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1615, allocations: 0 / 478.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.317e-05/0.1615, allocations: 15.92 kB / 478.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.1615, allocations: 3.938 kB / 478.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1616, allocations: 0 / 478.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.1616, allocations: 4 kB / 478.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.1616, allocations: 0 / 478.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.1619, allocations: 208.2 kB / 478.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.359e-05/0.162, allocations: 89 kB / 478.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/0.162, allocations: 7.938 kB / 478.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-05/0.1621, allocations: 4 kB / 478.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.1622, allocations: 3.984 kB / 478.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.1622, allocations: 4 kB / 478.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001648/0.1624, allocations: 151.1 kB / 478.6 MB, free: 6.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1624, allocations: 0 / 478.6 MB, free: 6.676 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003162/0.1627, allocations: 28 kB / 478.6 MB, free: 6.648 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.001939/0.1646, allocations: 1.103 MB / 479.7 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000216/0.1649, allocations: 59.89 kB / 479.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1649, allocations: 0 / 479.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.994e-05/0.165, allocations: 35.92 kB / 479.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.1654, allocations: 19.98 kB / 479.8 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.1673, allocations: 1.642 MB / 481.4 MB, free: 3.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.1677, allocations: 0.7083 MB / 482.2 MB, free: 3.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.699e-05/0.1677, allocations: 21.17 kB / 482.2 MB, free: 3.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.707e-05/0.1678, allocations: 31.42 kB / 482.2 MB, free: 3.066 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1678, allocations: 0 / 482.2 MB, free: 3.066 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01435/0.1822, allocations: 2.952 MB / 485.2 MB, free: 252 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000286/0.1825, allocations: 235.8 kB / 485.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/1.925, allocations: 0 / 485.4 MB, free: 15.99 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches