Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",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.0009836/0.0009836, allocations: 92.72 kB / 17.35 MB, free: 6.375 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.0009579/0.000958, allocations: 181.8 kB / 18.26 MB, free: 5.52 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.3/1.3, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.1835/0.1835, allocations: 44.24 MB / 337.7 MB, free: 2.418 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002655/0.0002655, allocations: 9.438 kB / 410.5 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1168, allocations: 61.92 MB / 472.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002363/0.1192, allocations: 1.719 MB / 474.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.1207, allocations: 0.9239 MB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.1209, allocations: 3.938 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.1211, allocations: 43.83 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.1214, allocations: 59.67 kB / 475.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.1217, allocations: 127.7 kB / 475.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002716/0.122, allocations: 187.4 kB / 475.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1221, allocations: 25.67 kB / 475.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.1223, allocations: 71.64 kB / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.1224, allocations: 71.61 kB / 475.6 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.1224, allocations: 8 kB / 475.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.1226, allocations: 43.98 kB / 475.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.1227, allocations: 31.84 kB / 475.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.053e-05/0.1228, allocations: 93.23 kB / 475.8 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.123, allocations: 175.7 kB / 475.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.123, allocations: 0 / 475.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1231, allocations: 0 / 475.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1231, allocations: 0 / 475.9 MB, free: 9.613 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008134/0.1239, allocations: 0.5549 MB / 476.5 MB, free: 9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1239, allocations: 8.031 kB / 476.5 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.886e-05/0.124, allocations: 38.75 kB / 476.5 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.919e-05/0.124, allocations: 16.75 kB / 476.6 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.1243, allocations: 244.8 kB / 476.8 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.1243, allocations: 4.375 kB / 476.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.1244, allocations: 19.84 kB / 476.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000442/0.1248, allocations: 160.1 kB / 477 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1249, allocations: 4 kB / 477 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.1249, allocations: 11.98 kB / 477 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1249, allocations: 0 / 477 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004851/0.1254, allocations: 139.9 kB / 477.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007022/0.1261, allocations: 0.5438 MB / 477.7 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007093/0.1268, allocations: 190.5 kB / 477.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002733/0.1271, allocations: 84.8 kB / 477.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.1271, allocations: 4 kB / 477.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004377/0.1276, allocations: 147.2 kB / 478.1 MB, free: 7.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.814e-06/0.1276, allocations: 0 / 478.1 MB, free: 7.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009241/0.1285, allocations: 297.1 kB / 478.4 MB, free: 6.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.1286, allocations: 63.39 kB / 478.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.1288, allocations: 227 kB / 478.7 MB, free: 6.652 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.1289, allocations: 29.7 kB / 478.7 MB, free: 6.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.598e-05/0.129, allocations: 120.3 kB / 478.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.129, allocations: 39.67 kB / 478.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.1291, allocations: 21.7 kB / 478.9 MB, free: 6.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1292, allocations: 326.8 kB / 479.2 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002669/0.1294, allocations: 83.94 kB / 479.3 MB, free: 6.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.1297, allocations: 116.2 kB / 479.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005126/0.1302, allocations: 223.6 kB / 479.6 MB, free: 5.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1303, allocations: 0 / 479.6 MB, free: 5.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00067/0.1309, allocations: 282.9 kB / 479.9 MB, free: 5.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.661e-05/0.131, allocations: 37.7 kB / 479.9 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.131, allocations: 0 / 479.9 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.131, allocations: 7.938 kB / 479.9 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.1312, allocations: 47.97 kB / 480 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.1312, allocations: 0 / 480 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.1314, allocations: 39.81 kB / 480 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.1315, allocations: 4 kB / 480 MB, free: 5.219 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001325/0.1316, allocations: 133.8 kB / 480.1 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.1316, allocations: 15.81 kB / 480.2 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.688e-05/0.1317, allocations: 29.33 kB / 480.2 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1317, allocations: 7.875 kB / 480.2 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1317, allocations: 0 / 480.2 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1317, allocations: 0 / 480.2 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.132, allocations: 233.5 kB / 480.4 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.132, allocations: 0 / 480.4 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.1321, allocations: 31.97 kB / 480.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1321, allocations: 4 kB / 480.5 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.1322, allocations: 3.984 kB / 480.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1322, allocations: 3.938 kB / 480.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1322, allocations: 0 / 480.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009143/0.1331, allocations: 336.7 kB / 480.8 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.075e-05/0.1332, allocations: 100.8 kB / 480.9 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.1332, allocations: 4 kB / 480.9 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.1334, allocations: 35.84 kB / 480.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.1e-05/0.1335, allocations: 24.03 kB / 480.9 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.1335, allocations: 4 kB / 481 MB, free: 4.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001504/0.1337, allocations: 164.7 kB / 481.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1337, allocations: 0 / 481.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.1339, allocations: 32 kB / 481.1 MB, free: 3.988 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002048/0.136, allocations: 1.181 MB / 482.3 MB, free: 2.941 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006528/0.1366, allocations: 255.2 kB / 482.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1367, allocations: 0 / 482.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002934/0.137, allocations: 87.94 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.1373, allocations: 47.91 kB / 482.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003307/0.1406, allocations: 2.254 MB / 485 MB, free: 176 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.141, allocations: 0.7283 MB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.777e-05/0.1411, allocations: 25.52 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.431e-05/0.1412, allocations: 47.42 kB / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1412, allocations: 0 / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01375/0.155, allocations: 4.342 MB / 490.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002474/0.1553, allocations: 234.2 kB / 490.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/1.984, allocations: 3.938 kB / 490.3 MB, free: 10.89 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches