Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",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.0008429/0.0008429, allocations: 103 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.0008604/0.0008604, allocations: 185.3 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.556/1.556, allocations: 205.4 MB / 223.1 MB, free: 5.535 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.4139/0.4139, allocations: 43.58 MB / 315 MB, free: 9.016 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.0005194/0.0005195, allocations: 12 kB / 384.7 MB, free: 7.773 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1224, allocations: 58.86 MB / 443.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002241/0.1247, allocations: 1.418 MB / 445 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.126, allocations: 0.773 MB / 445.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.909e-05/0.1261, allocations: 0 / 445.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003375/0.1264, allocations: 75.83 kB / 445.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.1266, allocations: 67.8 kB / 445.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.1269, allocations: 79.84 kB / 446 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.1271, allocations: 103.7 kB / 446.1 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1272, allocations: 20.16 kB / 446.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.78e-05/0.1273, allocations: 43.78 kB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.1274, allocations: 51.81 kB / 446.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.1274, allocations: 0 / 446.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.746e-05/0.1275, allocations: 39.98 kB / 446.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.46e-05/0.1276, allocations: 31.84 kB / 446.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.533e-05/0.1276, allocations: 61.39 kB / 446.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.1278, allocations: 119.8 kB / 446.4 MB, free: 9.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.1278, allocations: 0 / 446.4 MB, free: 9.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1278, allocations: 0 / 446.4 MB, free: 9.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1279, allocations: 0 / 446.4 MB, free: 9.91 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.0005831/0.1284, allocations: 403.1 kB / 446.8 MB, free: 9.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.1285, allocations: 8.031 kB / 446.8 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.301e-05/0.1285, allocations: 34.75 kB / 446.9 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.1286, allocations: 12.75 kB / 446.9 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.1288, allocations: 212.8 kB / 447.1 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.1288, allocations: 4.375 kB / 447.1 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.1289, allocations: 7.875 kB / 447.1 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.129, allocations: 57.67 kB / 447.1 MB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1291, allocations: 4 kB / 447.1 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.1291, allocations: 0 / 447.1 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.1291, allocations: 0 / 447.1 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.283e-05/0.1292, allocations: 23.92 kB / 447.2 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.1295, allocations: 292.8 kB / 447.5 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.1297, allocations: 62.59 kB / 447.5 MB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.299e-05/0.1298, allocations: 24.84 kB / 447.5 MB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.1298, allocations: 4 kB / 447.5 MB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.13, allocations: 67.3 kB / 447.6 MB, free: 8.543 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.13, allocations: 0 / 447.6 MB, free: 8.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005092/0.1305, allocations: 173.2 kB / 447.8 MB, free: 8.367 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.1306, allocations: 55.41 kB / 447.8 MB, free: 8.301 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.1308, allocations: 214.3 kB / 448 MB, free: 8.082 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1308, allocations: 25.7 kB / 448.1 MB, free: 8.051 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.666e-05/0.1309, allocations: 112.1 kB / 448.2 MB, free: 7.938 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.1309, allocations: 31.62 kB / 448.2 MB, free: 7.906 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.131, allocations: 13.72 kB / 448.2 MB, free: 7.887 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1311, allocations: 322.8 kB / 448.5 MB, free: 7.562 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.711e-05/0.1312, allocations: 27.92 kB / 448.6 MB, free: 7.535 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.202e-05/0.1312, allocations: 33.7 kB / 448.6 MB, free: 7.496 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.1313, allocations: 57.72 kB / 448.7 MB, free: 7.434 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1313, allocations: 0 / 448.7 MB, free: 7.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001823/0.1315, allocations: 105.6 kB / 448.8 MB, free: 7.324 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.1316, allocations: 8 kB / 448.8 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1316, allocations: 3.938 kB / 448.8 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1316, allocations: 0 / 448.8 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.519e-05/0.1317, allocations: 12 kB / 448.8 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.1317, allocations: 4 kB / 448.8 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.573e-05/0.1318, allocations: 7.922 kB / 448.8 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.1318, allocations: 12.03 kB / 448.8 MB, free: 7.277 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 0.0001031/0.1319, allocations: 129.8 kB / 448.9 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.1319, allocations: 7.906 kB / 448.9 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.462e-05/0.132, allocations: 17.41 kB / 449 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.132, allocations: 0 / 449 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.132, allocations: 0 / 449 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.132, allocations: 3.938 kB / 449 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004576/0.1324, allocations: 403.2 kB / 449.4 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1325, allocations: 0 / 449.4 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.36e-05/0.1325, allocations: 12.38 kB / 449.4 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1325, allocations: 7.875 kB / 449.4 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.1325, allocations: 4 kB / 449.4 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1325, allocations: 4 kB / 449.4 MB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1325, allocations: 0 / 449.4 MB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.1328, allocations: 212.5 kB / 449.6 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-05/0.1328, allocations: 88.92 kB / 449.7 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.1329, allocations: 7.938 kB / 449.7 MB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.689e-05/0.1329, allocations: 0 / 449.7 MB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.133, allocations: 11.98 kB / 449.7 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.133, allocations: 4 kB / 449.7 MB, free: 6.273 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001305/0.1331, allocations: 156.2 kB / 449.9 MB, free: 6.121 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1332, allocations: 0 / 449.9 MB, free: 6.121 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.1334, allocations: 27.98 kB / 449.9 MB, free: 6.094 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.001452/0.1349, allocations: 1.107 MB / 451 MB, free: 5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000177/0.1351, allocations: 55.97 kB / 451 MB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1351, allocations: 3.938 kB / 451 MB, free: 4.941 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.09e-05/0.1351, allocations: 35.92 kB / 451.1 MB, free: 4.906 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.1355, allocations: 19.98 kB / 451.1 MB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.1372, allocations: 1.709 MB / 452.8 MB, free: 3.082 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.1375, allocations: 0.7083 MB / 453.5 MB, free: 2.348 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.42e-05/0.1376, allocations: 20.78 kB / 453.5 MB, free: 2.328 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.602e-05/0.1376, allocations: 39.42 kB / 453.6 MB, free: 2.289 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1376, allocations: 0 / 453.6 MB, free: 2.289 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2227/0.3604, allocations: 3.029 MB / 456.6 MB, free: 46.27 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/0.3606, allocations: 232.6 kB / 456.8 MB, free: 46.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.903/2.263, allocations: 0 / 456.8 MB, free: 46.02 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches