Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",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.001696/0.001696, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001193/0.001193, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.334/1.334, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2134/0.2134, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 59.41 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1044, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003079/0.1075, allocations: 1.7 MB / 471.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.1089, allocations: 0.8769 MB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.109, allocations: 0 / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.1093, allocations: 59.73 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002102/0.1096, allocations: 55.77 kB / 472.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003164/0.1099, allocations: 114.5 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.11, allocations: 99.69 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.052e-05/0.1101, allocations: 12.22 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.783e-05/0.1102, allocations: 39.8 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.73e-05/0.1103, allocations: 31.84 kB / 472.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.1104, allocations: 4 kB / 472.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.1105, allocations: 39.98 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.074e-05/0.1106, allocations: 31.86 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.75e-05/0.1106, allocations: 39.62 kB / 472.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.1108, allocations: 135.8 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1109, allocations: 0 / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1109, allocations: 0 / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1109, allocations: 0 / 472.6 MB, free: 11.03 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.0006277/0.1115, allocations: 442.7 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.1116, allocations: 8.031 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.861e-05/0.1116, allocations: 38.73 kB / 473.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.1117, allocations: 12.75 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.1119, allocations: 219.9 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.112, allocations: 384 / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.112, allocations: 7.938 kB / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.1122, allocations: 53.67 kB / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1122, allocations: 4 kB / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.1122, allocations: 0 / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1122, allocations: 0 / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.271e-05/0.1123, allocations: 19.98 kB / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004693/0.1128, allocations: 292.9 kB / 473.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.113, allocations: 62.61 kB / 473.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.815e-05/0.1131, allocations: 24.84 kB / 473.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.1131, allocations: 4 kB / 473.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002373/0.1133, allocations: 63.39 kB / 473.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.104e-06/0.1134, allocations: 0 / 473.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006321/0.114, allocations: 188.9 kB / 474 MB, free: 9.434 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.114, allocations: 55.41 kB / 474.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.1143, allocations: 270.9 kB / 474.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.1143, allocations: 25.7 kB / 474.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.322e-05/0.1144, allocations: 116.1 kB / 474.5 MB, free: 8.941 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.1145, allocations: 19.72 kB / 474.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.1145, allocations: 25.7 kB / 474.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1146, allocations: 326.8 kB / 474.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.337e-05/0.1147, allocations: 28.3 kB / 474.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.307e-05/0.1148, allocations: 37.7 kB / 474.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.1149, allocations: 57.7 kB / 474.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1149, allocations: 4 kB / 475 MB, free: 8.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001908/0.1151, allocations: 109.4 kB / 475.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1151, allocations: 4.188 kB / 475.1 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1151, allocations: 0 / 475.1 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1152, allocations: 3.938 kB / 475.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.389e-05/0.1153, allocations: 27.95 kB / 475.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1153, allocations: 0 / 475.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.807e-05/0.1153, allocations: 7.875 kB / 475.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.1153, allocations: 4 kB / 475.1 MB, free: 8.266 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.0001008/0.1155, allocations: 133.8 kB / 475.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.1155, allocations: 19.8 kB / 475.3 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.6e-05/0.1155, allocations: 25.39 kB / 475.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1155, allocations: 0 / 475.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1156, allocations: 0 / 475.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1156, allocations: 7.938 kB / 475.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.116, allocations: 399.3 kB / 475.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.116, allocations: 0 / 475.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.238e-05/0.116, allocations: 8 kB / 475.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.1161, allocations: 3.938 kB / 475.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.1161, allocations: 4 kB / 475.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1161, allocations: 0 / 475.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1161, allocations: 0 / 475.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.1163, allocations: 212.2 kB / 475.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.1164, allocations: 92.91 kB / 476 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.1164, allocations: 7.938 kB / 476 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.836e-05/0.1165, allocations: 0 / 476 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.1165, allocations: 7.984 kB / 476 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.1165, allocations: 4 kB / 476 MB, free: 7.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001642/0.1167, allocations: 204.2 kB / 476.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1167, allocations: 0 / 476.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000296/0.117, allocations: 20 kB / 476.2 MB, free: 7.035 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.00158/0.1186, allocations: 1.11 MB / 477.3 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.1188, allocations: 63.91 kB / 477.4 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1188, allocations: 4 kB / 477.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.012e-05/0.1189, allocations: 28.06 kB / 477.4 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.1192, allocations: 27.91 kB / 477.5 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.1212, allocations: 1.806 MB / 479.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.1215, allocations: 0.7119 MB / 480 MB, free: 3.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.903e-05/0.1215, allocations: 17.19 kB / 480 MB, free: 3.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.213e-05/0.1216, allocations: 43.42 kB / 480 MB, free: 3.262 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1216, allocations: 0 / 480 MB, free: 3.262 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02025/0.1419, allocations: 3.616 MB / 483.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/7.68, allocations: 11.98 kB / 483.7 MB, free: 15.72 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches