Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",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.001489/0.001489, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001667/0.001667, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.402/1.402, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2111/0.2111, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 71.58 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1153, allocations: 60.81 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.004031/0.1193, allocations: 1.916 MB / 471.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.1212, allocations: 0.9197 MB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.1214, allocations: 0 / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003309/0.1217, allocations: 39.7 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002852/0.1221, allocations: 63.62 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004215/0.1225, allocations: 127.1 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000262/0.1228, allocations: 139.6 kB / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.123, allocations: 33.47 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.1231, allocations: 59.66 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.1232, allocations: 47.7 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.1233, allocations: 8 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.1234, allocations: 43.98 kB / 472.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.004e-05/0.1235, allocations: 31.86 kB / 472.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.901e-05/0.1236, allocations: 47.67 kB / 472.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.1239, allocations: 155.7 kB / 473 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1239, allocations: 0 / 473 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1239, allocations: 0 / 473 MB, free: 10.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.1239, allocations: 0 / 473 MB, free: 10.63 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007177/0.1246, allocations: 471.5 kB / 473.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.1247, allocations: 8.031 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.071e-05/0.1247, allocations: 46.73 kB / 473.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.654e-05/0.1248, allocations: 16.75 kB / 473.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.1251, allocations: 223.9 kB / 473.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1251, allocations: 384 / 473.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.269e-05/0.1251, allocations: 15.92 kB / 473.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.1254, allocations: 100.2 kB / 473.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1254, allocations: 3.938 kB / 473.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.1254, allocations: 11.98 kB / 473.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.1254, allocations: 4 kB / 473.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.1256, allocations: 47.97 kB / 473.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006343/0.1262, allocations: 0.5009 MB / 474.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/0.1266, allocations: 90.59 kB / 474.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.894e-05/0.1267, allocations: 40.78 kB / 474.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.1267, allocations: 4 kB / 474.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003187/0.1271, allocations: 79.38 kB / 474.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.783e-06/0.1271, allocations: 0 / 474.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004412/0.1275, allocations: 145.6 kB / 474.8 MB, free: 8.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1276, allocations: 55.41 kB / 474.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.1278, allocations: 191.5 kB / 475 MB, free: 8.383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.1278, allocations: 29.8 kB / 475 MB, free: 8.348 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.778e-05/0.1279, allocations: 123.9 kB / 475.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.128, allocations: 27.61 kB / 475.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.275e-05/0.128, allocations: 29.7 kB / 475.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1282, allocations: 322.8 kB / 475.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.457e-05/0.1283, allocations: 27.98 kB / 475.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.1284, allocations: 68.2 kB / 475.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.1286, allocations: 96.2 kB / 475.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1286, allocations: 0 / 475.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003031/0.1289, allocations: 145.3 kB / 475.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1289, allocations: 4 kB / 475.9 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1289, allocations: 0 / 475.9 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.1289, allocations: 7.938 kB / 475.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.1291, allocations: 23.92 kB / 475.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1291, allocations: 4 kB / 475.9 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.789e-05/0.1291, allocations: 7.938 kB / 475.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.1292, allocations: 8 kB / 475.9 MB, free: 7.414 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: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001058/0.1293, allocations: 126 kB / 476 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.1293, allocations: 19.81 kB / 476 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.975e-05/0.1294, allocations: 17.41 kB / 476.1 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1294, allocations: 3.938 kB / 476.1 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.1294, allocations: 3.984 kB / 476.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.1294, allocations: 7.984 kB / 476.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.1296, allocations: 205.6 kB / 476.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1296, allocations: 0 / 476.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.731e-05/0.1297, allocations: 11.94 kB / 476.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.1297, allocations: 4 kB / 476.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.1297, allocations: 4.094 kB / 476.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1297, allocations: 11.81 kB / 476.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1297, allocations: 0 / 476.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.1301, allocations: 180.8 kB / 476.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.1301, allocations: 92.89 kB / 476.6 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.1302, allocations: 4 kB / 476.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.469e-05/0.1303, allocations: 15.98 kB / 476.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.1303, allocations: 4 kB / 476.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.1303, allocations: 11.98 kB / 476.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.1304, allocations: 133.2 kB / 476.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1304, allocations: 0 / 476.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.1307, allocations: 32.11 kB / 476.8 MB, free: 6.449 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: 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 (9): * Single equations (assignments): 7 * 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.001497/0.1322, allocations: 1.016 MB / 477.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002626/0.1325, allocations: 83.83 kB / 477.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1325, allocations: 0 / 477.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.1326, allocations: 40.17 kB / 477.9 MB, free: 5.441 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.1329, allocations: 43.56 kB / 478 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.1348, allocations: 1.74 MB / 479.7 MB, free: 3.555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.1351, allocations: 0.7084 MB / 480.4 MB, free: 2.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.897e-05/0.1352, allocations: 21.41 kB / 480.4 MB, free: 2.801 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.28e-05/0.1353, allocations: 43.42 kB / 480.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1353, allocations: 4 kB / 480.5 MB, free: 2.754 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/0.1565, allocations: 3.676 MB / 484.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.549/7.705, allocations: 22.28 kB / 484.2 MB, free: 15.14 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches