Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",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.0007775/0.0007776, allocations: 102.4 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009151/0.0009152, allocations: 181.2 kB / 16.92 MB, free: 6.918 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.424/1.424, allocations: 205.4 MB / 223.1 MB, free: 5.527 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.345/0.345, allocations: 43.57 MB / 315 MB, free: 8.797 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.0004953/0.0004953, allocations: 20.56 kB / 384.7 MB, free: 7.535 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1239, allocations: 58.86 MB / 443.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.00215/0.1261, allocations: 1.414 MB / 445 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.1276, allocations: 0.7769 MB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.245e-05/0.1277, allocations: 4 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.128, allocations: 51.88 kB / 445.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.1282, allocations: 43.81 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.1285, allocations: 83.8 kB / 445.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.1287, allocations: 99.61 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1288, allocations: 20.2 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.043e-05/0.1289, allocations: 43.78 kB / 446.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.226e-05/0.1289, allocations: 31.84 kB / 446.1 MB, free: 9.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.129, allocations: 4 kB / 446.1 MB, free: 9.988 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.156e-05/0.1291, allocations: 39.98 kB / 446.2 MB, free: 9.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.879e-05/0.1291, allocations: 27.8 kB / 446.2 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.292e-05/0.1292, allocations: 69.36 kB / 446.2 MB, free: 9.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.1294, allocations: 119.9 kB / 446.4 MB, free: 9.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1294, allocations: 0 / 446.4 MB, free: 9.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1294, allocations: 3.938 kB / 446.4 MB, free: 9.727 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1294, allocations: 0 / 446.4 MB, free: 9.727 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.0005128/0.1299, allocations: 426.9 kB / 446.8 MB, free: 9.262 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.13, allocations: 8.031 kB / 446.8 MB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.055e-05/0.13, allocations: 30.75 kB / 446.8 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.1301, allocations: 16.75 kB / 446.8 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.1304, allocations: 223.7 kB / 447.1 MB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.1304, allocations: 4.375 kB / 447.1 MB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.1305, allocations: 7.922 kB / 447.1 MB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.1306, allocations: 61.67 kB / 447.1 MB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1306, allocations: 0 / 447.1 MB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.1306, allocations: 0 / 447.1 MB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1307, allocations: 0 / 447.1 MB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.229e-05/0.1307, allocations: 19.98 kB / 447.1 MB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.1311, allocations: 288.9 kB / 447.4 MB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.1313, allocations: 66.61 kB / 447.5 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.956e-05/0.1314, allocations: 16.86 kB / 447.5 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.1314, allocations: 3.984 kB / 447.5 MB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.1316, allocations: 71.39 kB / 447.6 MB, free: 8.332 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1316, allocations: 0 / 447.6 MB, free: 8.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005603/0.1322, allocations: 181 kB / 447.8 MB, free: 8.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.1322, allocations: 63.33 kB / 447.8 MB, free: 8.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.1325, allocations: 259.7 kB / 448.1 MB, free: 7.809 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.1325, allocations: 25.7 kB / 448.1 MB, free: 7.777 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.111e-05/0.1326, allocations: 112.1 kB / 448.2 MB, free: 7.664 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.1326, allocations: 31.62 kB / 448.2 MB, free: 7.633 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.1326, allocations: 21.66 kB / 448.3 MB, free: 7.605 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1328, allocations: 326.8 kB / 448.6 MB, free: 7.277 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.415e-05/0.1328, allocations: 20 kB / 448.6 MB, free: 7.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.138e-05/0.1329, allocations: 41.64 kB / 448.6 MB, free: 7.211 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.133, allocations: 57.77 kB / 448.7 MB, free: 7.148 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.133, allocations: 0 / 448.7 MB, free: 7.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001875/0.1332, allocations: 105.4 kB / 448.8 MB, free: 7.039 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1332, allocations: 8 kB / 448.8 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1332, allocations: 0 / 448.8 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1333, allocations: 3.984 kB / 448.8 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.215e-05/0.1333, allocations: 16.03 kB / 448.8 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.1334, allocations: 7.938 kB / 448.8 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.693e-05/0.1334, allocations: 3.938 kB / 448.8 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1334, allocations: 8 kB / 448.9 MB, free: 6.992 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 9.748e-05/0.1335, allocations: 129.8 kB / 449 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.1336, allocations: 19.8 kB / 449 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.147e-05/0.1336, allocations: 17.41 kB / 449 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.1336, allocations: 4 kB / 449 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1336, allocations: 4 kB / 449 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1336, allocations: 3.938 kB / 449 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004341/0.1341, allocations: 403.3 kB / 449.4 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.1341, allocations: 0 / 449.4 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.188e-05/0.1341, allocations: 8 kB / 449.4 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.1341, allocations: 7.922 kB / 449.4 MB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1342, allocations: 8 kB / 449.4 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1342, allocations: 0 / 449.4 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1342, allocations: 4.031 kB / 449.4 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.1344, allocations: 200.1 kB / 449.6 MB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-05/0.1345, allocations: 92.92 kB / 449.7 MB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.1345, allocations: 11.92 kB / 449.7 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.017e-05/0.1346, allocations: 0 / 449.7 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.1346, allocations: 11.94 kB / 449.8 MB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.1346, allocations: 12.36 kB / 449.8 MB, free: 5.969 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001669/0.1348, allocations: 199 kB / 450 MB, free: 5.773 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1348, allocations: 0 / 450 MB, free: 5.773 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.1351, allocations: 20 kB / 450 MB, free: 5.754 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.00154/0.1366, allocations: 1.121 MB / 451.1 MB, free: 4.641 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001635/0.1368, allocations: 51.92 kB / 451.2 MB, free: 4.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1368, allocations: 0 / 451.2 MB, free: 4.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.06e-05/0.1369, allocations: 36.05 kB / 451.2 MB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.1372, allocations: 27.97 kB / 451.2 MB, free: 4.527 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.1392, allocations: 1.836 MB / 453.1 MB, free: 2.594 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.1397, allocations: 0.716 MB / 453.8 MB, free: 1.852 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.491e-05/0.1397, allocations: 16.88 kB / 453.8 MB, free: 1.836 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.438e-05/0.1398, allocations: 39.42 kB / 453.8 MB, free: 1.797 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1398, allocations: 0 / 453.8 MB, free: 1.797 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2145/0.3544, allocations: 3.242 MB / 457.1 MB, free: 45.53 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/0.3546, allocations: 228.6 kB / 457.3 MB, free: 45.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.902/2.256, allocations: 0 / 457.3 MB, free: 45.28 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches