Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",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.001118/0.001118, allocations: 104.5 kB / 17.63 MB, free: 5.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.001163/0.001163, allocations: 192 kB / 18.56 MB, free: 4.434 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.434/1.434, allocations: 222.9 MB / 242.3 MB, free: 15.17 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.2132/0.2132, allocations: 44.17 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 68.78 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.107, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002951/0.11, allocations: 1.692 MB / 471.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.1113, allocations: 0.8769 MB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.724e-05/0.1114, allocations: 0 / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.1116, allocations: 43.77 kB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002547/0.1119, allocations: 51.77 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.1122, allocations: 107.6 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.1124, allocations: 99.69 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.067e-05/0.1125, allocations: 8.219 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.478e-05/0.1126, allocations: 39.8 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.713e-05/0.1127, allocations: 35.78 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.1127, allocations: 8 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.923e-05/0.1128, allocations: 39.98 kB / 472.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.867e-05/0.1129, allocations: 23.92 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.017e-05/0.1129, allocations: 35.78 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.1131, allocations: 99.94 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1131, allocations: 3.938 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1131, allocations: 0 / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1131, allocations: 4 kB / 472.5 MB, free: 11.1 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004898/0.1136, allocations: 413.8 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1137, allocations: 16.03 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.447e-05/0.1137, allocations: 34.75 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.1138, allocations: 8.844 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.114, allocations: 207.8 kB / 473.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.114, allocations: 4.375 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.114, allocations: 7.938 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.1142, allocations: 57.67 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1142, allocations: 0 / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.1142, allocations: 0 / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.1142, allocations: 0 / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.511e-05/0.1143, allocations: 27.92 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.1146, allocations: 280.9 kB / 473.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.1148, allocations: 54.67 kB / 473.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.282e-05/0.1149, allocations: 20.86 kB / 473.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.1149, allocations: 7.984 kB / 473.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.1151, allocations: 71.23 kB / 473.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1151, allocations: 0 / 473.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005211/0.1157, allocations: 169.3 kB / 473.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.1157, allocations: 55.39 kB / 473.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.1159, allocations: 170.2 kB / 474.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.1159, allocations: 29.7 kB / 474.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.516e-05/0.116, allocations: 104.1 kB / 474.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.116, allocations: 23.66 kB / 474.3 MB, free: 9.168 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.1161, allocations: 25.7 kB / 474.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1162, allocations: 318.8 kB / 474.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.701e-05/0.1162, allocations: 19.98 kB / 474.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.605e-05/0.1163, allocations: 33.7 kB / 474.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.1164, allocations: 69.64 kB / 474.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1165, allocations: 0 / 474.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001936/0.1166, allocations: 97.48 kB / 474.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1167, allocations: 11.94 kB / 474.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1167, allocations: 3.938 kB / 474.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.1167, allocations: 192 / 474.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.989e-05/0.1168, allocations: 19.98 kB / 474.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1168, allocations: 12.08 kB / 474.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.463e-05/0.1169, allocations: 7.969 kB / 474.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1169, allocations: 4 kB / 474.9 MB, free: 8.523 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 (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.128e-05/0.117, allocations: 124.9 kB / 475 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.117, allocations: 11.91 kB / 475 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.258e-05/0.1171, allocations: 12.72 kB / 475 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1171, allocations: 0 / 475 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1171, allocations: 8.359 kB / 475 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.1171, allocations: 3.938 kB / 475 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004837/0.1176, allocations: 383.3 kB / 475.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1176, allocations: 4 kB / 475.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.379e-05/0.1176, allocations: 11.94 kB / 475.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-05/0.1177, allocations: 3.938 kB / 475.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1177, allocations: 8 kB / 475.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1177, allocations: 0 / 475.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1177, allocations: 0 / 475.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.1179, allocations: 212.2 kB / 475.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.1e-05/0.118, allocations: 85.02 kB / 475.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.118, allocations: 7.938 kB / 475.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.922e-05/0.1181, allocations: 4 kB / 475.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.1181, allocations: 7.984 kB / 475.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.1181, allocations: 0 / 475.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001/0.1182, allocations: 136.7 kB / 475.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1182, allocations: 3.938 kB / 475.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.1185, allocations: 27.98 kB / 475.9 MB, free: 7.383 MB / 350.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.001438/0.1199, allocations: 1.094 MB / 477 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001751/0.1201, allocations: 63.91 kB / 477.1 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1201, allocations: 0 / 477.1 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.295e-05/0.1202, allocations: 39.91 kB / 477.1 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.1206, allocations: 24.28 kB / 477.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.1223, allocations: 1.597 MB / 478.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.1227, allocations: 0.7118 MB / 479.4 MB, free: 3.887 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.111e-05/0.1228, allocations: 12.88 kB / 479.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.462e-05/0.1229, allocations: 31.42 kB / 479.5 MB, free: 3.848 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1229, allocations: 0 / 479.5 MB, free: 3.848 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/0.1418, allocations: 3.237 MB / 482.7 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.62/7.762, allocations: 16.2 kB / 482.7 MB, free: 0.6875 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches