Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35",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.001415/0.001415, allocations: 113.2 kB / 16.41 MB, free: 6.488 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.001329/0.001329, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.407/1.407, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2278/0.2278, allocations: 43.52 MB / 314.1 MB, free: 468 kB / 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.002015/0.002015, allocations: 75.89 kB / 441.4 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1207, allocations: 57.79 MB / 499.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.004645/0.1254, allocations: 1.697 MB / 0.4891 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.1274, allocations: 0.8 MB / 0.4899 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.401e-05/0.1275, allocations: 0 / 0.4899 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004325/0.128, allocations: 87.75 kB / 0.49 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003035/0.1283, allocations: 75.67 kB / 0.4901 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.1287, allocations: 95.62 kB / 0.4902 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000261/0.1289, allocations: 103.7 kB / 0.4903 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1291, allocations: 20.2 kB / 0.4903 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.1292, allocations: 47.78 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.1294, allocations: 59.81 kB / 0.4904 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.1294, allocations: 8 kB / 0.4904 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.1296, allocations: 47.91 kB / 0.4904 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.27e-05/0.1297, allocations: 31.86 kB / 0.4905 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.745e-05/0.1297, allocations: 31.75 kB / 0.4905 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.13, allocations: 123.5 kB / 0.4906 GB, free: 9.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1301, allocations: 0 / 0.4906 GB, free: 9.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1301, allocations: 0 / 0.4906 GB, free: 9.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1301, allocations: 0 / 0.4906 GB, free: 9.008 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.0007702/0.1309, allocations: 426.6 kB / 0.491 GB, free: 8.543 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.1309, allocations: 19.83 kB / 0.491 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.988e-05/0.131, allocations: 38.75 kB / 0.4911 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/0.131, allocations: 12.84 kB / 0.4911 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003915/0.1314, allocations: 216.1 kB / 0.4913 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.1315, allocations: 4.375 kB / 0.4913 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.1315, allocations: 3.938 kB / 0.4913 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.1317, allocations: 53.67 kB / 0.4914 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.1317, allocations: 0 / 0.4914 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.1318, allocations: 4 kB / 0.4914 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1318, allocations: 0 / 0.4914 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.1319, allocations: 23.92 kB / 0.4914 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000501/0.1324, allocations: 292.9 kB / 0.4917 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002507/0.1327, allocations: 50.69 kB / 0.4917 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.169e-05/0.1328, allocations: 20.84 kB / 0.4917 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.1328, allocations: 8 kB / 0.4917 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.133, allocations: 67.33 kB / 0.4918 GB, free: 7.617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.054e-06/0.133, allocations: 0 / 0.4918 GB, free: 7.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007911/0.1338, allocations: 185.3 kB / 0.492 GB, free: 7.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.1339, allocations: 55.41 kB / 0.492 GB, free: 7.363 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003377/0.1343, allocations: 230.5 kB / 0.4922 GB, free: 7.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.1343, allocations: 25.7 kB / 0.4923 GB, free: 7.094 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.1344, allocations: 112.1 kB / 0.4924 GB, free: 6.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.678e-05/0.1345, allocations: 23.8 kB / 0.4924 GB, free: 6.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.1e-05/0.1345, allocations: 29.64 kB / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.1348, allocations: 322.8 kB / 0.4927 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.497e-05/0.1349, allocations: 20 kB / 0.4928 GB, free: 6.578 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.135, allocations: 37.64 kB / 0.4928 GB, free: 6.535 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.1352, allocations: 65.64 kB / 0.4929 GB, free: 6.465 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1352, allocations: 0 / 0.4929 GB, free: 6.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002935/0.1355, allocations: 101.6 kB / 0.493 GB, free: 6.359 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.1355, allocations: 7.984 kB / 0.493 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.1355, allocations: 0 / 0.493 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.1355, allocations: 3.938 kB / 0.493 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.1357, allocations: 16.38 kB / 0.493 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.1357, allocations: 0 / 0.493 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.138e-05/0.1358, allocations: 7.969 kB / 0.493 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.1358, allocations: 11.98 kB / 0.493 GB, free: 6.312 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.000156/0.136, allocations: 137.6 kB / 0.4931 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.136, allocations: 11.95 kB / 0.4931 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.625e-05/0.1361, allocations: 17.39 kB / 0.4932 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1361, allocations: 0 / 0.4932 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1361, allocations: 4 kB / 0.4932 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.1362, allocations: 3.938 kB / 0.4932 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006689/0.1368, allocations: 403.3 kB / 0.4936 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1369, allocations: 0 / 0.4936 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.058e-05/0.1369, allocations: 11.94 kB / 0.4936 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.1369, allocations: 3.938 kB / 0.4936 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.137, allocations: 8 kB / 0.4936 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.137, allocations: 0 / 0.4936 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.137, allocations: 0 / 0.4936 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003633/0.1373, allocations: 204.3 kB / 0.4938 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.307e-05/0.1374, allocations: 93.05 kB / 0.4939 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.527e-05/0.1375, allocations: 7.938 kB / 0.4939 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.1376, allocations: 0 / 0.4939 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.1377, allocations: 7.984 kB / 0.4939 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.1377, allocations: 4 kB / 0.4939 GB, free: 5.305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002203/0.1379, allocations: 167.2 kB / 0.494 GB, free: 5.141 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.796e-06/0.1379, allocations: 0 / 0.494 GB, free: 5.141 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004672/0.1384, allocations: 27.92 kB / 0.4941 GB, free: 5.113 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.003026/0.1414, allocations: 1.107 MB / 0.4951 GB, free: 4.027 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002764/0.1417, allocations: 55.91 kB / 0.4952 GB, free: 3.973 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1418, allocations: 0 / 0.4952 GB, free: 3.973 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.1419, allocations: 31.94 kB / 0.4952 GB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005342/0.1424, allocations: 35.16 kB / 0.4953 GB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002754/0.1452, allocations: 1.731 MB / 0.497 GB, free: 2.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004989/0.1457, allocations: 0.708 MB / 0.4976 GB, free: 1.355 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.387e-05/0.1458, allocations: 21.19 kB / 0.4977 GB, free: 1.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.798e-05/0.1459, allocations: 43.41 kB / 0.4977 GB, free: 1.293 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1459, allocations: 0 / 0.4977 GB, free: 1.293 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02933/0.1753, allocations: 3.526 MB / 0.5011 GB, free: 13.74 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.805/7.98, allocations: 15.84 kB / 0.5012 GB, free: 13.73 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches