Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",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.001069/0.001069, allocations: 106.1 kB / 15.98 MB, free: 6.348 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.001038/0.001038, allocations: 193.4 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205.1 MB / 222.8 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3775/0.3775, allocations: 43.49 MB / 313.6 MB, free: 8.258 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 71.89 kB / 382.3 MB, free: 8.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1512, allocations: 57.78 MB / 440.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003211/0.1545, allocations: 1.745 MB / 441.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.1557, allocations: 0.7962 MB / 442.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.359e-05/0.1558, allocations: 4 kB / 442.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003045/0.1561, allocations: 23.91 kB / 442.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.1563, allocations: 51.77 kB / 442.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.1566, allocations: 71.91 kB / 442.8 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.1567, allocations: 95.64 kB / 442.9 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.29e-05/0.1568, allocations: 24.19 kB / 442.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.398e-05/0.1569, allocations: 35.8 kB / 442.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.485e-05/0.157, allocations: 35.86 kB / 443 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.157, allocations: 4 kB / 443 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.357e-05/0.1571, allocations: 39.97 kB / 443 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.032e-05/0.1572, allocations: 23.92 kB / 443.1 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.06e-05/0.1572, allocations: 35.73 kB / 443.1 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.1574, allocations: 107.9 kB / 443.2 MB, free: 11.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1574, allocations: 0 / 443.2 MB, free: 11.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1574, allocations: 0 / 443.2 MB, free: 11.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1574, allocations: 0 / 443.2 MB, free: 11.28 MB / 382.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.000505/0.1579, allocations: 406.5 kB / 443.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.158, allocations: 11.89 kB / 443.6 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.362e-05/0.158, allocations: 38.75 kB / 443.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.1581, allocations: 12.84 kB / 443.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.1583, allocations: 208.4 kB / 443.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.1583, allocations: 4 kB / 443.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.1583, allocations: 7.938 kB / 443.9 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.1585, allocations: 49.67 kB / 443.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1585, allocations: 0 / 443.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1585, allocations: 4 kB / 443.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1585, allocations: 8 kB / 443.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.763e-05/0.1586, allocations: 15.98 kB / 443.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.1589, allocations: 280.8 kB / 444.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.1591, allocations: 58.62 kB / 444.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.191e-05/0.1591, allocations: 24.84 kB / 444.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.1592, allocations: 0 / 444.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.1594, allocations: 67.39 kB / 444.4 MB, free: 9.934 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1594, allocations: 0 / 444.4 MB, free: 9.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005081/0.1599, allocations: 177.2 kB / 444.5 MB, free: 9.754 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.1599, allocations: 55.34 kB / 444.6 MB, free: 9.688 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.1601, allocations: 158.4 kB / 444.7 MB, free: 9.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.1601, allocations: 29.7 kB / 444.8 MB, free: 9.484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.1601, allocations: 104.1 kB / 444.9 MB, free: 9.379 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.1602, allocations: 27.64 kB / 444.9 MB, free: 9.352 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.1602, allocations: 25.7 kB / 444.9 MB, free: 9.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1603, allocations: 322.8 kB / 445.2 MB, free: 8.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.345e-05/0.1604, allocations: 19.94 kB / 445.3 MB, free: 8.977 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.904e-05/0.1605, allocations: 33.7 kB / 445.3 MB, free: 8.938 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.1606, allocations: 69.77 kB / 445.4 MB, free: 8.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1606, allocations: 0 / 445.4 MB, free: 8.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001632/0.1608, allocations: 93.53 kB / 445.5 MB, free: 8.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1608, allocations: 4 kB / 445.5 MB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1608, allocations: 11.92 kB / 445.5 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1608, allocations: 0 / 445.5 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.447e-05/0.1609, allocations: 16 kB / 445.5 MB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1609, allocations: 0 / 445.5 MB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.161, allocations: 8.406 kB / 445.5 MB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.161, allocations: 4 kB / 445.5 MB, free: 8.723 MB / 382.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 8.472e-05/0.1611, allocations: 125.7 kB / 445.6 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.1611, allocations: 15.81 kB / 445.6 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/0.1611, allocations: 16.66 kB / 445.7 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1612, allocations: 7.984 kB / 445.7 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1612, allocations: 0 / 445.7 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1612, allocations: 0 / 445.7 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.1616, allocations: 395.3 kB / 446 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1616, allocations: 0 / 446 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.917e-05/0.1616, allocations: 8 kB / 446.1 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1616, allocations: 0 / 446.1 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.1616, allocations: 4 kB / 446.1 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1616, allocations: 0 / 446.1 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1617, allocations: 0 / 446.1 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.1619, allocations: 208.2 kB / 446.3 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.1619, allocations: 92.98 kB / 446.4 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.1619, allocations: 0 / 446.4 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.776e-05/0.162, allocations: 8 kB / 446.4 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.1621, allocations: 7.984 kB / 446.4 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.1621, allocations: 4 kB / 446.4 MB, free: 7.746 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.467e-05/0.1622, allocations: 123.9 kB / 446.5 MB, free: 7.625 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1622, allocations: 4.188 kB / 446.5 MB, free: 7.621 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.1624, allocations: 20 kB / 446.5 MB, free: 7.602 MB / 382.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.001377/0.1638, allocations: 1.121 MB / 447.6 MB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.164, allocations: 59.92 kB / 447.7 MB, free: 6.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.164, allocations: 0 / 447.7 MB, free: 6.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.791e-05/0.1641, allocations: 27.98 kB / 447.7 MB, free: 6.402 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.1644, allocations: 31.95 kB / 447.8 MB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.166, allocations: 1.593 MB / 449.3 MB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.1663, allocations: 0.6963 MB / 450 MB, free: 3.961 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.002e-05/0.1663, allocations: 17.19 kB / 450.1 MB, free: 3.945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/0.1664, allocations: 31.42 kB / 450.1 MB, free: 3.914 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1664, allocations: 0 / 450.1 MB, free: 3.914 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/0.1803, allocations: 3.088 MB / 453.2 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002346/0.1806, allocations: 237.2 kB / 453.4 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/1.967, allocations: 4 kB / 453.4 MB, free: 0.543 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches