Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32",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.0007721/0.0007721, allocations: 93.42 kB / 17.35 MB, free: 6.34 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.0008674/0.0008676, allocations: 170.8 kB / 18.25 MB, free: 5.5 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.304/1.304, allocations: 223.3 MB / 242.3 MB, free: 188 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1908/0.1908, allocations: 44.25 MB / 337.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003219/0.0003221, allocations: 12 kB / 410.5 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1096, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002133/0.1118, allocations: 1.417 MB / 473.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.1133, allocations: 0.8421 MB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.603e-05/0.1134, allocations: 0 / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000292/0.1137, allocations: 39.89 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.1139, allocations: 43.83 kB / 474.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.1143, allocations: 99.64 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.1144, allocations: 91.7 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.817e-05/0.1146, allocations: 4.234 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.493e-05/0.1147, allocations: 43.77 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.654e-05/0.1147, allocations: 27.86 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.1148, allocations: 0 / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.1149, allocations: 43.92 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.381e-05/0.1149, allocations: 23.91 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.75e-05/0.115, allocations: 53.45 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.1152, allocations: 115.9 kB / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1152, allocations: 4 kB / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1152, allocations: 0 / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1152, allocations: 0 / 475.2 MB, free: 10.37 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.0004873/0.1157, allocations: 387.2 kB / 475.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1158, allocations: 11.97 kB / 475.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.01e-05/0.1158, allocations: 34.75 kB / 475.6 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.369e-05/0.1159, allocations: 16.75 kB / 475.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.1161, allocations: 208 kB / 475.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.1161, allocations: 4.375 kB / 475.9 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.1161, allocations: 11.92 kB / 475.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.1163, allocations: 53.67 kB / 475.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1163, allocations: 0 / 475.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1164, allocations: 4 kB / 475.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.1164, allocations: 3.984 kB / 475.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.124e-05/0.1165, allocations: 12 kB / 475.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.1169, allocations: 300.8 kB / 476.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.1171, allocations: 54.69 kB / 476.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.79e-05/0.1172, allocations: 24.84 kB / 476.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.1172, allocations: 3.938 kB / 476.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000207/0.1174, allocations: 71.33 kB / 476.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1174, allocations: 0 / 476.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005936/0.118, allocations: 165.3 kB / 476.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.1181, allocations: 59.34 kB / 476.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.1183, allocations: 186.1 kB / 476.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.1183, allocations: 33.69 kB / 476.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/0.1184, allocations: 100.1 kB / 476.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.1184, allocations: 23.7 kB / 476.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.1185, allocations: 17.72 kB / 477 MB, free: 8.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1186, allocations: 322.8 kB / 477.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.869e-05/0.1187, allocations: 23.98 kB / 477.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.419e-05/0.1187, allocations: 33.7 kB / 477.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.1189, allocations: 61.64 kB / 477.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1189, allocations: 0 / 477.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001924/0.1191, allocations: 105.5 kB / 477.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.1191, allocations: 4 kB / 477.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1191, allocations: 4.375 kB / 477.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1191, allocations: 0 / 477.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.354e-05/0.1192, allocations: 19.92 kB / 477.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.1192, allocations: 0 / 477.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.205e-05/0.1193, allocations: 11.94 kB / 477.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.1193, allocations: 8.188 kB / 477.5 MB, free: 7.789 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 0.0001252/0.1194, allocations: 125.9 kB / 477.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.1195, allocations: 11.84 kB / 477.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.283e-05/0.1195, allocations: 16.72 kB / 477.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1196, allocations: 0 / 477.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1196, allocations: 0 / 477.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.1196, allocations: 3.938 kB / 477.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004811/0.1201, allocations: 395.5 kB / 478.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1201, allocations: 0 / 478.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.274e-05/0.1201, allocations: 16.02 kB / 478.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1201, allocations: 3.938 kB / 478.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.1201, allocations: 0 / 478.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1202, allocations: 4 kB / 478.1 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1202, allocations: 3.938 kB / 478.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.1204, allocations: 204.1 kB / 478.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-05/0.1205, allocations: 89 kB / 478.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.1205, allocations: 11.94 kB / 478.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.974e-05/0.1206, allocations: 4 kB / 478.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.1206, allocations: 7.984 kB / 478.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.1207, allocations: 0 / 478.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.1208, allocations: 151.2 kB / 478.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1208, allocations: 0 / 478.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.1211, allocations: 24 kB / 478.6 MB, free: 6.629 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.001457/0.1225, allocations: 1.104 MB / 479.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001693/0.1227, allocations: 55.91 kB / 479.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1227, allocations: 0 / 479.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.766e-05/0.1228, allocations: 35.92 kB / 479.8 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.1231, allocations: 23.98 kB / 479.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.1249, allocations: 1.646 MB / 481.5 MB, free: 3.824 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.1252, allocations: 0.7043 MB / 482.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.002e-05/0.1252, allocations: 20.88 kB / 482.2 MB, free: 3.074 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.417e-05/0.1253, allocations: 35.42 kB / 482.2 MB, free: 3.039 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1253, allocations: 0 / 482.2 MB, free: 3.039 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01281/0.1381, allocations: 2.946 MB / 485.2 MB, free: 228 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002333/0.1384, allocations: 235 kB / 485.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/1.857, allocations: 0 / 485.4 MB, free: 15.97 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches