Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",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.001235/0.001236, allocations: 104.1 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.00124/0.001241, allocations: 188.6 kB / 17.19 MB, free: 5.949 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.641/1.641, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2237/0.2237, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.001631/0.001631, allocations: 69.91 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1112, allocations: 57.79 MB / 440.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003111/0.1143, allocations: 1.697 MB / 442.3 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.1155, allocations: 0.8039 MB / 443.1 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.884e-05/0.1156, allocations: 0 / 443.1 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003182/0.1159, allocations: 47.75 kB / 443.2 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001866/0.1161, allocations: 51.77 kB / 443.2 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.1164, allocations: 87.75 kB / 443.3 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.1165, allocations: 91.7 kB / 443.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.835e-05/0.1166, allocations: 16.17 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.918e-05/0.1167, allocations: 39.78 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.466e-05/0.1168, allocations: 39.78 kB / 443.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.1168, allocations: 4 kB / 443.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.394e-05/0.1169, allocations: 35.98 kB / 443.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.828e-05/0.1169, allocations: 19.92 kB / 443.6 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.027e-05/0.117, allocations: 35.73 kB / 443.6 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.1172, allocations: 111.7 kB / 443.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1172, allocations: 4 kB / 443.7 MB, free: 3.691 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1172, allocations: 0 / 443.7 MB, free: 3.691 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1172, allocations: 4 kB / 443.7 MB, free: 3.688 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.000459/0.1177, allocations: 414.9 kB / 444.1 MB, free: 3.234 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.1177, allocations: 15.89 kB / 444.1 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.997e-05/0.1178, allocations: 34.75 kB / 444.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.1178, allocations: 16.69 kB / 444.2 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.118, allocations: 206.2 kB / 444.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.118, allocations: 384 / 444.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.118, allocations: 7.938 kB / 444.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.1182, allocations: 57.67 kB / 444.4 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1182, allocations: 0 / 444.4 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.1182, allocations: 0 / 444.4 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1182, allocations: 0 / 444.4 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.753e-05/0.1183, allocations: 27.92 kB / 444.5 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.1186, allocations: 288.9 kB / 444.8 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.1188, allocations: 54.67 kB / 444.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.807e-05/0.1188, allocations: 32.78 kB / 444.8 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.1189, allocations: 3.984 kB / 444.8 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/0.119, allocations: 63.33 kB / 444.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1191, allocations: 0 / 444.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000478/0.1195, allocations: 181.1 kB / 445.1 MB, free: 2.133 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.1196, allocations: 59.41 kB / 445.1 MB, free: 2.062 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.1197, allocations: 199.3 kB / 445.3 MB, free: 1.859 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.1197, allocations: 29.7 kB / 445.4 MB, free: 1.824 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.1198, allocations: 108 kB / 445.5 MB, free: 1.715 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.1198, allocations: 23.66 kB / 445.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.1198, allocations: 25.7 kB / 445.5 MB, free: 1.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.547e-05/0.1199, allocations: 322.8 kB / 445.8 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.031e-05/0.1199, allocations: 20 kB / 445.8 MB, free: 1.316 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.088e-05/0.12, allocations: 37.7 kB / 445.9 MB, free: 1.273 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.556e-05/0.1201, allocations: 61.64 kB / 445.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1201, allocations: 0 / 445.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001494/0.1203, allocations: 101.5 kB / 446 MB, free: 1.102 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.1203, allocations: 8 kB / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1203, allocations: 0 / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1203, allocations: 8.016 kB / 446.1 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.451e-05/0.1204, allocations: 12 kB / 446.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1204, allocations: 4 kB / 446.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.169e-05/0.1205, allocations: 3.938 kB / 446.1 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.1205, allocations: 7.938 kB / 446.1 MB, free: 1.059 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 7.489e-05/0.1206, allocations: 133.3 kB / 446.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.1206, allocations: 15.81 kB / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.307e-05/0.1206, allocations: 17.39 kB / 446.3 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1206, allocations: 0 / 446.3 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1206, allocations: 8 kB / 446.3 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1207, allocations: 3.938 kB / 446.3 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/0.121, allocations: 387.3 kB / 446.6 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.121, allocations: 4 kB / 446.6 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.002e-05/0.121, allocations: 7.938 kB / 446.7 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.121, allocations: 11.92 kB / 446.7 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.121, allocations: 0 / 446.7 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.121, allocations: 0 / 446.7 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1211, allocations: 8.219 kB / 446.7 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.1212, allocations: 196.3 kB / 446.9 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.807e-05/0.1213, allocations: 88.86 kB / 446.9 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.1213, allocations: 7.938 kB / 447 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.668e-05/0.1214, allocations: 7.984 kB / 447 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.1214, allocations: 4 kB / 447 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.1214, allocations: 12.31 kB / 447 MB, free: 60 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.1215, allocations: 151.9 kB / 447.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1216, allocations: 0 / 447.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.1218, allocations: 27.98 kB / 447.2 MB, free: 15.88 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.001372/0.1232, allocations: 1.091 MB / 448.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001818/0.1234, allocations: 67.89 kB / 448.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1234, allocations: 64 / 448.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.128e-05/0.1235, allocations: 35.92 kB / 448.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.1238, allocations: 22.02 kB / 448.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.1255, allocations: 1.663 MB / 450 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.1257, allocations: 0.7041 MB / 450.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.632e-05/0.1258, allocations: 21.17 kB / 450.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.734e-05/0.1259, allocations: 39.42 kB / 450.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1259, allocations: 3.938 kB / 450.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0194/0.1453, allocations: 3.352 MB / 454.2 MB, free: 8.809 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.572/7.718, allocations: 7.875 kB / 454.2 MB, free: 8.801 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_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_Test25.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches