Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47",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.001235/0.001235, allocations: 96.14 kB / 15.87 MB, free: 16 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.001316/0.001316, allocations: 204.1 kB / 16.79 MB, free: 6.84 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.502/1.502, allocations: 205.1 MB / 222.6 MB, free: 4.969 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.3771/0.3771, allocations: 43.5 MB / 313.5 MB, free: 8.648 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.00156/0.00156, allocations: 67.91 kB / 382.1 MB, free: 8.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1167, allocations: 57.79 MB / 439.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002867/0.1196, allocations: 1.753 MB / 441.7 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.1208, allocations: 0.8001 MB / 442.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.06e-05/0.1208, allocations: 4 kB / 442.5 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.1211, allocations: 47.86 kB / 442.5 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.1213, allocations: 55.81 kB / 442.6 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.1215, allocations: 75.84 kB / 442.7 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.1217, allocations: 99.69 kB / 442.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.25e-05/0.1218, allocations: 12.22 kB / 442.8 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.516e-05/0.1218, allocations: 47.72 kB / 442.8 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.908e-05/0.1219, allocations: 31.84 kB / 442.8 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.1219, allocations: 0 / 442.8 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.514e-05/0.122, allocations: 47.97 kB / 442.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.47e-05/0.1221, allocations: 27.86 kB / 442.9 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.981e-05/0.1222, allocations: 47.61 kB / 443 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.1223, allocations: 115.9 kB / 443.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1223, allocations: 3.938 kB / 443.1 MB, free: 11.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1223, allocations: 0 / 443.1 MB, free: 11.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.1224, allocations: 0 / 443.1 MB, free: 11.85 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.0005099/0.1229, allocations: 438.7 kB / 443.5 MB, free: 11.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.1229, allocations: 16.02 kB / 443.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.238e-05/0.123, allocations: 38.75 kB / 443.6 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.123, allocations: 8.844 kB / 443.6 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.1232, allocations: 223.7 kB / 443.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.1232, allocations: 4.375 kB / 443.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.1233, allocations: 11.84 kB / 443.8 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.1234, allocations: 53.67 kB / 443.9 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1234, allocations: 0 / 443.9 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.1234, allocations: 0 / 443.9 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1234, allocations: 0 / 443.9 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.991e-05/0.1235, allocations: 19.98 kB / 443.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.1239, allocations: 296.9 kB / 444.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.124, allocations: 58.56 kB / 444.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.769e-05/0.1241, allocations: 20.84 kB / 444.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.1241, allocations: 4 kB / 444.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.1243, allocations: 71.38 kB / 444.3 MB, free: 10.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.675e-06/0.1243, allocations: 0 / 444.3 MB, free: 10.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005223/0.1248, allocations: 197 kB / 444.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.1249, allocations: 51.41 kB / 444.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.1251, allocations: 258.7 kB / 444.8 MB, free: 9.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1251, allocations: 29.7 kB / 444.8 MB, free: 9.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.668e-05/0.1252, allocations: 116 kB / 445 MB, free: 9.758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.1252, allocations: 19.75 kB / 445 MB, free: 9.738 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.1253, allocations: 29.7 kB / 445 MB, free: 9.703 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.633e-05/0.1254, allocations: 326.8 kB / 445.3 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.925e-05/0.1254, allocations: 23.98 kB / 445.3 MB, free: 9.352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.95e-05/0.1255, allocations: 33.7 kB / 445.4 MB, free: 9.312 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.1256, allocations: 61.72 kB / 445.4 MB, free: 9.246 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1256, allocations: 0 / 445.4 MB, free: 9.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001765/0.1258, allocations: 109.4 kB / 445.5 MB, free: 9.133 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1258, allocations: 4 kB / 445.6 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1258, allocations: 0 / 445.6 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1258, allocations: 0 / 445.6 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.188e-05/0.1259, allocations: 19.98 kB / 445.6 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1259, allocations: 0 / 445.6 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.599e-05/0.126, allocations: 11.88 kB / 445.6 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.126, allocations: 8.031 kB / 445.6 MB, free: 9.09 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.082e-05/0.1261, allocations: 137.8 kB / 445.7 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.1261, allocations: 15.81 kB / 445.7 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.1262, allocations: 21.39 kB / 445.8 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1262, allocations: 0 / 445.8 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1262, allocations: 0 / 445.8 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1262, allocations: 3.938 kB / 445.8 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004096/0.1266, allocations: 407.2 kB / 446.2 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1266, allocations: 0 / 446.2 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.018e-05/0.1267, allocations: 8 kB / 446.2 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1267, allocations: 3.938 kB / 446.2 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.1267, allocations: 4 kB / 446.2 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1267, allocations: 192 / 446.2 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1267, allocations: 0 / 446.2 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.1269, allocations: 216.2 kB / 446.4 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.127, allocations: 92.91 kB / 446.5 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.127, allocations: 3.938 kB / 446.5 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-05/0.1271, allocations: 8.312 kB / 446.5 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.1271, allocations: 3.984 kB / 446.5 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.1271, allocations: 8 kB / 446.5 MB, free: 8.066 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000144/0.1273, allocations: 200 kB / 446.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1273, allocations: 0 / 446.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.1275, allocations: 23.98 kB / 446.7 MB, free: 7.848 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.001336/0.1289, allocations: 1.11 MB / 447.8 MB, free: 6.754 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00016/0.1291, allocations: 59.89 kB / 447.9 MB, free: 6.695 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1291, allocations: 0 / 447.9 MB, free: 6.695 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.647e-05/0.1291, allocations: 28 kB / 447.9 MB, free: 6.668 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.1295, allocations: 35.77 kB / 448 MB, free: 6.633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.1313, allocations: 1.839 MB / 449.8 MB, free: 4.703 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.1316, allocations: 0.7121 MB / 450.5 MB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.856e-05/0.1316, allocations: 17.17 kB / 450.5 MB, free: 3.945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.502e-05/0.1317, allocations: 43.42 kB / 450.6 MB, free: 3.902 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1317, allocations: 3.938 kB / 450.6 MB, free: 3.898 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01433/0.146, allocations: 3.44 MB / 454 MB, free: 440 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002528/0.1463, allocations: 234.4 kB / 454.2 MB, free: 180 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/1.831, allocations: 4.062 kB / 454.2 MB, free: 176 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches