Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29",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.001502/0.001502, allocations: 104.4 kB / 16.27 MB, free: 5.996 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.001654/0.001654, allocations: 190.9 kB / 17.2 MB, free: 5.629 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.513/1.513, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2351/0.2351, allocations: 43.52 MB / 313.9 MB, free: 0.5508 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.001588/0.001588, allocations: 79.95 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1127, allocations: 57.79 MB / 440.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002784/0.1156, allocations: 1.686 MB / 442.3 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009785/0.1166, allocations: 0.8039 MB / 443.1 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.787e-05/0.1167, allocations: 4 kB / 443.1 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.1169, allocations: 39.77 kB / 443.2 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.1171, allocations: 55.75 kB / 443.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.1173, allocations: 87.66 kB / 443.3 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.1175, allocations: 99.69 kB / 443.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1176, allocations: 12.16 kB / 443.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.39e-05/0.1177, allocations: 39.8 kB / 443.5 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.279e-05/0.1177, allocations: 35.84 kB / 443.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.1178, allocations: 4 kB / 443.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.724e-05/0.1179, allocations: 35.98 kB / 443.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.767e-05/0.1179, allocations: 19.92 kB / 443.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.795e-05/0.118, allocations: 31.75 kB / 443.6 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.1181, allocations: 111.7 kB / 443.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1182, allocations: 0 / 443.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1182, allocations: 3.938 kB / 443.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.1182, allocations: 0 / 443.7 MB, free: 3.742 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004401/0.1186, allocations: 414.9 kB / 444.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1187, allocations: 15.89 kB / 444.1 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.178e-05/0.1187, allocations: 34.75 kB / 444.1 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.1187, allocations: 8.844 kB / 444.2 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.1189, allocations: 209 kB / 444.4 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1189, allocations: 384 / 444.4 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.119, allocations: 7.938 kB / 444.4 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.1191, allocations: 57.61 kB / 444.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1191, allocations: 0 / 444.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-06/0.1191, allocations: 0 / 444.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1191, allocations: 8 kB / 444.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.208e-05/0.1192, allocations: 23.98 kB / 444.5 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002653/0.1195, allocations: 284.8 kB / 444.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.1196, allocations: 58.61 kB / 444.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.569e-05/0.1197, allocations: 32.72 kB / 444.8 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.1197, allocations: 4 kB / 444.8 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.1199, allocations: 63.39 kB / 444.9 MB, free: 2.371 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1199, allocations: 0 / 444.9 MB, free: 2.371 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004959/0.1204, allocations: 181.1 kB / 445.1 MB, free: 2.188 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.1205, allocations: 51.41 kB / 445.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.1206, allocations: 194.1 kB / 445.3 MB, free: 1.926 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.1206, allocations: 29.7 kB / 445.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.559e-05/0.1207, allocations: 100.1 kB / 445.4 MB, free: 1.789 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.1207, allocations: 23.7 kB / 445.5 MB, free: 1.766 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/0.1207, allocations: 21.72 kB / 445.5 MB, free: 1.738 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.102e-05/0.1208, allocations: 326.8 kB / 445.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.037e-05/0.1209, allocations: 15.98 kB / 445.8 MB, free: 1.395 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.401e-05/0.1209, allocations: 41.64 kB / 445.9 MB, free: 1.348 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.494e-05/0.121, allocations: 57.72 kB / 445.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.121, allocations: 0 / 445.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001502/0.1212, allocations: 101.5 kB / 446 MB, free: 1.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.1212, allocations: 4 kB / 446 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1212, allocations: 0 / 446 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1212, allocations: 4 kB / 446 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.337e-05/0.1213, allocations: 19.98 kB / 446 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.1213, allocations: 0 / 446 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.25e-05/0.1214, allocations: 11.97 kB / 446 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.1214, allocations: 0 / 446 MB, free: 1.141 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 (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 6.771e-05/0.1215, allocations: 141.6 kB / 446.2 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/0.1215, allocations: 11.81 kB / 446.2 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.869e-05/0.1215, allocations: 12.72 kB / 446.2 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1215, allocations: 3.984 kB / 446.2 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1215, allocations: 0 / 446.2 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1216, allocations: 7.938 kB / 446.2 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000331/0.1219, allocations: 395.3 kB / 446.6 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1219, allocations: 384 / 446.6 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.863e-05/0.1219, allocations: 8 kB / 446.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1219, allocations: 7.938 kB / 446.6 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.122, allocations: 4 kB / 446.6 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.122, allocations: 0 / 446.6 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.122, allocations: 4.125 kB / 446.6 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.1221, allocations: 204.3 kB / 446.8 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.085e-05/0.1222, allocations: 100.8 kB / 446.9 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.1222, allocations: 3.938 kB / 446.9 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.48e-05/0.1223, allocations: 4 kB / 446.9 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.1223, allocations: 11.98 kB / 446.9 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.1223, allocations: 4 kB / 447 MB, free: 124 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.1225, allocations: 135.2 kB / 447.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1225, allocations: 4 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.1227, allocations: 23.98 kB / 447.1 MB, free: 15.96 MB / 334.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.001488/0.1242, allocations: 1.091 MB / 448.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.1244, allocations: 59.97 kB / 448.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1244, allocations: 0 / 448.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.815e-05/0.1245, allocations: 35.91 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.1249, allocations: 34.08 kB / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.1265, allocations: 1.623 MB / 450 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.1268, allocations: 0.7079 MB / 450.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.508e-05/0.1268, allocations: 17.17 kB / 450.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/0.1269, allocations: 31.42 kB / 450.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1269, allocations: 3.938 kB / 450.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02107/0.148, allocations: 3.294 MB / 454 MB, free: 8.988 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/7.97, allocations: 4 kB / 454 MB, free: 8.984 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_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_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches