Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",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.001847/0.001847, allocations: 106.2 kB / 17.21 MB, free: 6.293 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.002127/0.002127, allocations: 194 kB / 18.12 MB, free: 5.383 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.432/1.432, allocations: 222.9 MB / 241.8 MB, free: 13.72 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.2524/0.2524, allocations: 44.18 MB / 336.1 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 68.17 kB / 407.8 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1441, allocations: 60.83 MB / 468.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003896/0.148, allocations: 1.725 MB / 470.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.1499, allocations: 0.8419 MB / 471.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.1501, allocations: 4 kB / 471.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004232/0.1506, allocations: 47.86 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003155/0.1509, allocations: 55.81 kB / 471.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.1514, allocations: 91.77 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000261/0.1517, allocations: 91.7 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.004e-05/0.1518, allocations: 4 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.1519, allocations: 39.83 kB / 471.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.1521, allocations: 31.8 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.1521, allocations: 4 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.1523, allocations: 35.92 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.1524, allocations: 23.91 kB / 471.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.93e-05/0.1525, allocations: 35.69 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.1529, allocations: 111.9 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.998e-06/0.1529, allocations: 4 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1529, allocations: 0 / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.1529, allocations: 0 / 471.8 MB, free: 11.54 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00106/0.154, allocations: 430.8 kB / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.937e-05/0.1541, allocations: 8.031 kB / 472.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.566e-05/0.1542, allocations: 38.67 kB / 472.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.745e-05/0.1543, allocations: 20.75 kB / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/0.1547, allocations: 212 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.1547, allocations: 384 / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.1547, allocations: 11.94 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.1549, allocations: 45.62 kB / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1549, allocations: 0 / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.155, allocations: 3.984 kB / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-06/0.155, allocations: 4 kB / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.043e-05/0.1551, allocations: 12 kB / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002685/0.1554, allocations: 193.6 kB / 472.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.1555, allocations: 54.56 kB / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.348e-05/0.1556, allocations: 20.84 kB / 472.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.1557, allocations: 0 / 472.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002605/0.1559, allocations: 67.39 kB / 472.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.774e-06/0.1559, allocations: 0 / 472.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000329/0.1563, allocations: 101.4 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.1563, allocations: 59.39 kB / 473 MB, free: 10.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.1566, allocations: 258.9 kB / 473.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.1566, allocations: 25.7 kB / 473.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.065e-05/0.1567, allocations: 112.1 kB / 473.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.1568, allocations: 11.89 kB / 473.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/0.1568, allocations: 21.72 kB / 473.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.157, allocations: 330.8 kB / 473.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.712e-05/0.157, allocations: 23.92 kB / 473.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.086e-05/0.1571, allocations: 25.7 kB / 473.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.1572, allocations: 45.66 kB / 473.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.1572, allocations: 3.938 kB / 473.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001819/0.1574, allocations: 85.8 kB / 474 MB, free: 9.105 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1574, allocations: 14.44 kB / 474 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1574, allocations: 4.031 kB / 474 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1575, allocations: 0 / 474 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.146e-05/0.1576, allocations: 8 kB / 474 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.1576, allocations: 4 kB / 474 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.434e-05/0.1576, allocations: 11.83 kB / 474 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.1576, allocations: 8 kB / 474 MB, free: 9.059 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 (7): * Single equations (assignments): 7 * 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.0001425/0.1578, allocations: 133.8 kB / 474.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.1578, allocations: 11.89 kB / 474.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.508e-05/0.1579, allocations: 17 kB / 474.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1579, allocations: 4 kB / 474.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1579, allocations: 0 / 474.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1579, allocations: 0 / 474.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.1581, allocations: 201.5 kB / 474.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1581, allocations: 0 / 474.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.155e-05/0.1582, allocations: 4 kB / 474.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.1582, allocations: 0 / 474.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.1582, allocations: 7.984 kB / 474.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1582, allocations: 7.875 kB / 474.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1582, allocations: 0 / 474.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.1584, allocations: 116.9 kB / 474.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.229e-05/0.1585, allocations: 88.92 kB / 474.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.1585, allocations: 4 kB / 474.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.64e-05/0.1586, allocations: 0 / 474.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.1586, allocations: 7.984 kB / 474.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.1586, allocations: 0 / 474.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001961/0.1588, allocations: 200.2 kB / 474.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1588, allocations: 0 / 474.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002335/0.1591, allocations: 20 kB / 474.8 MB, free: 8.152 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001568/0.1607, allocations: 0.9572 MB / 475.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000165/0.1608, allocations: 39.97 kB / 475.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1609, allocations: 64 / 475.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.602e-05/0.1609, allocations: 23.94 kB / 475.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.1612, allocations: 27.97 kB / 475.9 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.1633, allocations: 1.668 MB / 477.5 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.1636, allocations: 0.7082 MB / 478.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.364e-05/0.1637, allocations: 16.55 kB / 478.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.995e-05/0.1638, allocations: 43.42 kB / 478.3 MB, free: 4.691 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1638, allocations: 0 / 478.3 MB, free: 4.691 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01354/0.1773, allocations: 3.157 MB / 481.5 MB, free: 1.637 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.1775, allocations: 246.6 kB / 481.7 MB, free: 1.371 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.897/2.075, allocations: 64 / 481.7 MB, free: 1.371 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches