Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test62,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62",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.001105/0.001105, allocations: 105.3 kB / 16.27 MB, free: 6.41 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.001184/0.001184, allocations: 191.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2325/0.2325, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 70.28 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1055, allocations: 57.8 MB / 440.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.0028/0.1084, allocations: 1.648 MB / 442.3 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.1096, allocations: 0.7944 MB / 443.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.1097, allocations: 0 / 443.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000335/0.1101, allocations: 47.81 kB / 443.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.1104, allocations: 63.69 kB / 443.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.1106, allocations: 79.77 kB / 443.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.1108, allocations: 87.7 kB / 443.3 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.013e-05/0.1109, allocations: 8.266 kB / 443.4 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.559e-05/0.111, allocations: 35.86 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.932e-05/0.1111, allocations: 27.8 kB / 443.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.1111, allocations: 4 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.1112, allocations: 39.97 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.973e-05/0.1113, allocations: 23.92 kB / 443.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.662e-05/0.1113, allocations: 35.69 kB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.1116, allocations: 119.6 kB / 443.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1116, allocations: 0 / 443.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1116, allocations: 0 / 443.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1116, allocations: 0 / 443.6 MB, free: 3.762 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005509/0.1121, allocations: 438.6 kB / 444.1 MB, free: 3.285 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.1122, allocations: 11.89 kB / 444.1 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.137e-05/0.1122, allocations: 38.73 kB / 444.1 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.481e-05/0.1123, allocations: 8.844 kB / 444.1 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.1125, allocations: 223.5 kB / 444.3 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.1125, allocations: 8.375 kB / 444.3 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.1125, allocations: 3.938 kB / 444.4 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.1127, allocations: 45.62 kB / 444.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.1127, allocations: 4 kB / 444.4 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1127, allocations: 3.984 kB / 444.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.1127, allocations: 0 / 444.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.783e-05/0.1128, allocations: 12 kB / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.113, allocations: 193.6 kB / 444.6 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.1131, allocations: 58.55 kB / 444.7 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.874e-05/0.1132, allocations: 24.78 kB / 444.7 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.1132, allocations: 7.938 kB / 444.7 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002225/0.1135, allocations: 67.39 kB / 444.8 MB, free: 2.461 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.1135, allocations: 0 / 444.8 MB, free: 2.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002554/0.1137, allocations: 97.58 kB / 444.9 MB, free: 2.359 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.1138, allocations: 59.33 kB / 444.9 MB, free: 2.289 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.114, allocations: 251.8 kB / 445.2 MB, free: 2.027 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.114, allocations: 25.7 kB / 445.2 MB, free: 1.996 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.817e-05/0.114, allocations: 112.1 kB / 445.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.114, allocations: 23.73 kB / 445.3 MB, free: 1.859 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.1141, allocations: 17.72 kB / 445.3 MB, free: 1.836 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.381e-05/0.1141, allocations: 326.8 kB / 445.7 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.608e-05/0.1142, allocations: 15.98 kB / 445.7 MB, free: 1.492 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.668e-05/0.1142, allocations: 29.7 kB / 445.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.241e-05/0.1143, allocations: 41.72 kB / 445.7 MB, free: 1.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1143, allocations: 7.875 kB / 445.7 MB, free: 1.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001288/0.1145, allocations: 89.42 kB / 445.8 MB, free: 1.309 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.1145, allocations: 8.031 kB / 445.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1145, allocations: 160 / 445.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1145, allocations: 0 / 445.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.156e-05/0.1146, allocations: 12 kB / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1146, allocations: 3.984 kB / 445.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.376e-05/0.1147, allocations: 0 / 445.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.1147, allocations: 7.938 kB / 445.9 MB, free: 1.277 MB / 318.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 (7): * Single equations (assignments): 7 * 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 7.084e-05/0.1148, allocations: 141.7 kB / 446 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.1148, allocations: 15.8 kB / 446 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.737e-05/0.1148, allocations: 21 kB / 446 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1148, allocations: 0 / 446 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1148, allocations: 0 / 446 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1148, allocations: 0 / 446 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.65e-05/0.1149, allocations: 205.5 kB / 446.2 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.115, allocations: 320 / 446.2 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.825e-05/0.115, allocations: 4 kB / 446.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.115, allocations: 4 kB / 446.2 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.115, allocations: 3.984 kB / 446.3 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.115, allocations: 0 / 446.3 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.115, allocations: 0 / 446.3 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.1152, allocations: 120.8 kB / 446.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/0.1152, allocations: 85.02 kB / 446.5 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.1152, allocations: 4 kB / 446.5 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.387e-05/0.1153, allocations: 0 / 446.5 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.1153, allocations: 7.984 kB / 446.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.1153, allocations: 0 / 446.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.1154, allocations: 203.2 kB / 446.7 MB, free: 392 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1155, allocations: 4 kB / 446.7 MB, free: 388 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002091/0.1157, allocations: 12 kB / 446.7 MB, free: 376 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001248/0.1169, allocations: 0.9516 MB / 447.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.1171, allocations: 47.91 kB / 447.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1171, allocations: 8.062 kB / 447.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.173e-05/0.1172, allocations: 15.94 kB / 447.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.1175, allocations: 45.86 kB / 447.7 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.1191, allocations: 1.636 MB / 449.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.1194, allocations: 0.7156 MB / 450.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.273e-05/0.1194, allocations: 8.547 kB / 450.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.241e-05/0.1195, allocations: 43.42 kB / 450.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1195, allocations: 4 kB / 450.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/0.14, allocations: 3.313 MB / 453.5 MB, free: 9.52 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.921/8.061, allocations: 19.69 kB / 453.5 MB, free: 9.504 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches