Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",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.0008432/0.0008432, allocations: 94.33 kB / 17.35 MB, free: 6.344 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.0009108/0.0009109, allocations: 170.2 kB / 18.25 MB, free: 5.508 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.278/1.278, allocations: 223.3 MB / 242.3 MB, free: 14.49 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.2014/0.2014, allocations: 44.25 MB / 337.7 MB, free: 2.457 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002904/0.0002904, allocations: 12 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1083, allocations: 61.93 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002144/0.1105, allocations: 1.374 MB / 473.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.1119, allocations: 0.8265 MB / 474.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.559e-05/0.1119, allocations: 0 / 474.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.1123, allocations: 59.86 kB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.1125, allocations: 51.81 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.1127, allocations: 91.78 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.1129, allocations: 95.67 kB / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.064e-05/0.113, allocations: 4 kB / 474.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.1131, allocations: 39.84 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.1132, allocations: 51.77 kB / 475 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.1133, allocations: 0 / 475 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.177e-05/0.1134, allocations: 35.86 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.112e-05/0.1134, allocations: 23.91 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.358e-05/0.1135, allocations: 49.52 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.1137, allocations: 95.92 kB / 475.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1137, allocations: 0 / 475.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1137, allocations: 0 / 475.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.1137, allocations: 0 / 475.2 MB, free: 10.43 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000466/0.1142, allocations: 391.2 kB / 475.5 MB, free: 9.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.1142, allocations: 8.031 kB / 475.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.723e-05/0.1143, allocations: 30.75 kB / 475.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.1143, allocations: 8.844 kB / 475.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.1145, allocations: 216 kB / 475.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1145, allocations: 384 / 475.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.1146, allocations: 7.938 kB / 475.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.1147, allocations: 45.67 kB / 475.9 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1147, allocations: 0 / 475.9 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.1147, allocations: 4 kB / 475.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1147, allocations: 0 / 475.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.532e-05/0.1148, allocations: 15.98 kB / 475.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.115, allocations: 185.6 kB / 476.1 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.1152, allocations: 58.48 kB / 476.1 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.109e-05/0.1152, allocations: 24.78 kB / 476.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.1153, allocations: 4 kB / 476.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.1154, allocations: 63.39 kB / 476.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.1155, allocations: 0 / 476.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002682/0.1157, allocations: 97.7 kB / 476.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.1158, allocations: 51.41 kB / 476.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.1159, allocations: 190.1 kB / 476.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.116, allocations: 33.7 kB / 476.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.116, allocations: 100.1 kB / 476.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.1161, allocations: 11.81 kB / 476.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/0.1161, allocations: 13.72 kB / 476.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1162, allocations: 326.8 kB / 477 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.707e-05/0.1163, allocations: 11.98 kB / 477 MB, free: 8.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.24e-05/0.1163, allocations: 29.72 kB / 477.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.451e-05/0.1164, allocations: 53.7 kB / 477.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.1164, allocations: 3.938 kB / 477.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001585/0.1166, allocations: 77.59 kB / 477.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.1166, allocations: 10.48 kB / 477.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1166, allocations: 0 / 477.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.1167, allocations: 4 kB / 477.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.155e-05/0.1167, allocations: 11.94 kB / 477.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1168, allocations: 3.938 kB / 477.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.874e-05/0.1168, allocations: 8.031 kB / 477.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.1168, allocations: 0 / 477.2 MB, free: 8.125 MB / 350.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 (7): * Single equations (assignments): 7 * 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.654e-05/0.1169, allocations: 129.8 kB / 477.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.117, allocations: 15.81 kB / 477.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.152e-05/0.117, allocations: 12.3 kB / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-06/0.117, allocations: 0 / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.117, allocations: 0 / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.117, allocations: 0 / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.1172, allocations: 193.5 kB / 477.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1172, allocations: 0 / 477.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.108e-05/0.1172, allocations: 8 kB / 477.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1172, allocations: 0 / 477.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.1172, allocations: 0 / 477.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.1173, allocations: 0 / 477.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.1173, allocations: 11.86 kB / 477.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.1174, allocations: 105 kB / 477.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.1175, allocations: 89 kB / 477.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.1175, allocations: 8 kB / 477.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.861e-05/0.1176, allocations: 8.125 kB / 477.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.1176, allocations: 7.984 kB / 477.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.1176, allocations: 0 / 477.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.1178, allocations: 135.2 kB / 477.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1178, allocations: 0 / 477.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002134/0.118, allocations: 27.98 kB / 478 MB, free: 7.289 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001226/0.1192, allocations: 0.9466 MB / 478.9 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.1194, allocations: 39.98 kB / 478.9 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1194, allocations: 0 / 478.9 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.982e-05/0.1194, allocations: 27.92 kB / 479 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.1197, allocations: 19.98 kB / 479 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.1212, allocations: 1.499 MB / 480.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.1215, allocations: 0.7004 MB / 481.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.73e-05/0.1216, allocations: 20.52 kB / 481.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.443e-05/0.1216, allocations: 31.42 kB / 481.2 MB, free: 4.016 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1216, allocations: 0 / 481.2 MB, free: 4.016 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01332/0.135, allocations: 2.636 MB / 483.9 MB, free: 1.504 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/0.1352, allocations: 241.5 kB / 484.1 MB, free: 1.246 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/1.92, allocations: 0 / 484.1 MB, free: 1.246 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches