Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",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.001269/0.001269, 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.001333/0.001334, 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.399/1.399, allocations: 222.9 MB / 242.2 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.2369/0.2369, allocations: 44.18 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 69.72 kB / 408.5 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1094, allocations: 60.82 MB / 469.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003535/0.113, allocations: 1.712 MB / 471.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.1144, allocations: 0.8808 MB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.561e-05/0.1145, allocations: 4 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.1148, allocations: 47.75 kB / 472 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.115, allocations: 59.69 kB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.1153, allocations: 107.7 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.1155, allocations: 119.7 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1156, allocations: 23.97 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.22e-05/0.1157, allocations: 55.77 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.637e-05/0.1158, allocations: 47.72 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.1159, allocations: 4 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.116, allocations: 63.97 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.581e-05/0.1161, allocations: 23.92 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.973e-05/0.1161, allocations: 47.72 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.1163, allocations: 135.9 kB / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1163, allocations: 3.938 kB / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1163, allocations: 7.938 kB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.1164, allocations: 0 / 472.7 MB, free: 10.89 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005051/0.1169, allocations: 433.8 kB / 473.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.1169, allocations: 8.031 kB / 473.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.575e-05/0.117, allocations: 34.75 kB / 473.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/0.117, allocations: 12.83 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.1172, allocations: 222.6 kB / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1173, allocations: 4.375 kB / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.1173, allocations: 15.92 kB / 473.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.1175, allocations: 73.59 kB / 473.5 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1175, allocations: 0 / 473.5 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1175, allocations: 7.938 kB / 473.5 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1175, allocations: 0 / 473.5 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.1176, allocations: 43.97 kB / 473.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/0.118, allocations: 316.7 kB / 473.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.1183, allocations: 90.53 kB / 473.9 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.829e-05/0.1183, allocations: 28.84 kB / 474 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.1184, allocations: 4 kB / 474 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.1186, allocations: 83.41 kB / 474 MB, free: 9.367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.1186, allocations: 0 / 474 MB, free: 9.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008188/0.1194, allocations: 296.2 kB / 474.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.1194, allocations: 55.34 kB / 474.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.1196, allocations: 191.3 kB / 474.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.1196, allocations: 29.7 kB / 474.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/0.1197, allocations: 108.4 kB / 474.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/0.1198, allocations: 47.38 kB / 474.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/0.1198, allocations: 29.7 kB / 474.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1199, allocations: 330.8 kB / 475.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.788e-05/0.12, allocations: 35.98 kB / 475.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.583e-05/0.1201, allocations: 57.08 kB / 475.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.1203, allocations: 93.7 kB / 475.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1203, allocations: 0 / 475.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002579/0.1206, allocations: 149.5 kB / 475.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1206, allocations: 8.031 kB / 475.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1206, allocations: 0 / 475.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.1206, allocations: 4 kB / 475.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1207, allocations: 39.86 kB / 475.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1207, allocations: 0 / 475.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.1208, allocations: 4 kB / 475.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.1208, allocations: 4 kB / 475.5 MB, free: 7.844 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 (15): * Single equations (assignments): 15 * 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.0001154/0.1209, allocations: 125.8 kB / 475.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.121, allocations: 19.81 kB / 475.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.8e-05/0.121, allocations: 21.53 kB / 475.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.1211, allocations: 7.875 kB / 475.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1211, allocations: 0 / 475.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.1211, allocations: 7.969 kB / 475.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005886/0.1217, allocations: 491.8 kB / 476.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1217, allocations: 0 / 476.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.738e-05/0.1217, allocations: 16.06 kB / 476.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.1218, allocations: 4 kB / 476.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.1218, allocations: 11.98 kB / 476.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1218, allocations: 0 / 476.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1218, allocations: 4 kB / 476.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.1221, allocations: 260.4 kB / 476.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.268e-05/0.1222, allocations: 92.92 kB / 476.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.1222, allocations: 0 / 476.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.03e-05/0.1223, allocations: 15.92 kB / 476.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.1223, allocations: 4 kB / 476.6 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.1224, allocations: 7.984 kB / 476.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.1225, allocations: 136 kB / 476.7 MB, free: 6.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1225, allocations: 288 / 476.7 MB, free: 6.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002881/0.1228, allocations: 35.98 kB / 476.7 MB, free: 6.5 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.001733/0.1245, allocations: 1.205 MB / 477.9 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002356/0.1248, allocations: 107.8 kB / 478 MB, free: 5.367 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1248, allocations: 4.062 kB / 478 MB, free: 5.363 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.307e-05/0.1249, allocations: 47.92 kB / 478.1 MB, free: 5.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.1252, allocations: 31.97 kB / 478.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.1272, allocations: 1.814 MB / 479.9 MB, free: 3.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.1275, allocations: 0.7238 MB / 480.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.246e-05/0.1276, allocations: 25.41 kB / 480.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.911e-05/0.1276, allocations: 43.42 kB / 480.7 MB, free: 2.559 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1277, allocations: 0 / 480.7 MB, free: 2.559 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02169/0.1493, allocations: 3.898 MB / 484.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.345/7.494, allocations: 11 kB / 484.6 MB, free: 14.74 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches