Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",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.001567/0.001567, allocations: 107 kB / 17.33 MB, free: 6.023 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.001789/0.001789, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.47/1.47, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2129/0.2129, allocations: 44.17 MB / 336.2 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 69.3 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1074, allocations: 60.84 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.00339/0.1108, allocations: 1.753 MB / 470.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.1123, allocations: 0.8575 MB / 471.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.797e-05/0.1125, allocations: 0 / 471.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000329/0.1128, allocations: 27.91 kB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.1131, allocations: 47.83 kB / 471.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.1135, allocations: 103.5 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.1137, allocations: 95.7 kB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.982e-05/0.1138, allocations: 12.23 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.49e-05/0.1139, allocations: 39.78 kB / 471.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.842e-05/0.114, allocations: 35.84 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.114, allocations: 4 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.1141, allocations: 43.92 kB / 471.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.7e-05/0.1142, allocations: 23.91 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.382e-05/0.1142, allocations: 27.81 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.1145, allocations: 107.9 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1145, allocations: 4 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1145, allocations: 0 / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.1145, allocations: 0 / 472 MB, free: 11.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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005668/0.1151, allocations: 399 kB / 472.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.1151, allocations: 8.031 kB / 472.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.864e-05/0.1152, allocations: 46.67 kB / 472.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.1152, allocations: 8.844 kB / 472.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.1155, allocations: 196.5 kB / 472.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.1155, allocations: 7.984 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.1155, allocations: 8 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.1157, allocations: 53.61 kB / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1157, allocations: 0 / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1157, allocations: 4 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1157, allocations: 4 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.657e-05/0.1158, allocations: 23.86 kB / 472.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.1162, allocations: 280.8 kB / 473 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.1163, allocations: 58.69 kB / 473.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.271e-05/0.1164, allocations: 20.84 kB / 473.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.1164, allocations: 4 kB / 473.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001887/0.1166, allocations: 71.33 kB / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1166, allocations: 0 / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005611/0.1172, allocations: 181.3 kB / 473.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.1173, allocations: 55.34 kB / 473.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.1174, allocations: 163.8 kB / 473.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.1175, allocations: 25.7 kB / 473.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.216e-05/0.1175, allocations: 96.14 kB / 473.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.1176, allocations: 27.64 kB / 473.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.1176, allocations: 25.72 kB / 473.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1177, allocations: 322.8 kB / 474.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.708e-05/0.1178, allocations: 19.98 kB / 474.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.774e-05/0.1179, allocations: 37.7 kB / 474.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.118, allocations: 61.64 kB / 474.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.118, allocations: 0 / 474.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001893/0.1182, allocations: 93.58 kB / 474.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1182, allocations: 12.03 kB / 474.3 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1182, allocations: 3.938 kB / 474.3 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1182, allocations: 3.984 kB / 474.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.499e-05/0.1183, allocations: 23.92 kB / 474.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1184, allocations: 4 kB / 474.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.524e-05/0.1184, allocations: 0 / 474.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1184, allocations: 4 kB / 474.3 MB, free: 8.875 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.0001031/0.1185, allocations: 117.8 kB / 474.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.1186, allocations: 11.91 kB / 474.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.66e-05/0.1186, allocations: 24.66 kB / 474.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1186, allocations: 0 / 474.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1186, allocations: 0 / 474.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1186, allocations: 192 / 474.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004392/0.1191, allocations: 387.3 kB / 474.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1191, allocations: 3.938 kB / 474.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.1191, allocations: 11.98 kB / 474.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.1192, allocations: 7.938 kB / 474.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1192, allocations: 7.969 kB / 474.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1192, allocations: 0 / 474.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1192, allocations: 0 / 474.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.1194, allocations: 204.4 kB / 475.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.1195, allocations: 85.02 kB / 475.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.1195, allocations: 8.359 kB / 475.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.269e-05/0.1196, allocations: 8 kB / 475.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.1196, allocations: 4 kB / 475.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.1197, allocations: 11.98 kB / 475.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.807e-05/0.1198, allocations: 121.1 kB / 475.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1198, allocations: 0 / 475.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.12, allocations: 20 kB / 475.3 MB, free: 7.754 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.001554/0.1216, allocations: 1.099 MB / 476.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.1218, allocations: 63.91 kB / 476.5 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1218, allocations: 3.938 kB / 476.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.314e-05/0.1219, allocations: 31.92 kB / 476.5 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.1222, allocations: 23.98 kB / 476.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.124, allocations: 1.585 MB / 478.1 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.1243, allocations: 0.7002 MB / 478.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.29e-05/0.1244, allocations: 21.17 kB / 478.9 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.294e-05/0.1244, allocations: 31.42 kB / 478.9 MB, free: 4.234 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1244, allocations: 0 / 478.9 MB, free: 4.234 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.1394, allocations: 3.091 MB / 482 MB, free: 1.25 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/0.1396, allocations: 236.7 kB / 482.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.023/2.162, allocations: 4 kB / 482.2 MB, free: 0.9883 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches