Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",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.001162/0.001162, allocations: 104.5 kB / 16.27 MB, free: 5.961 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.001385/0.001385, allocations: 191.3 kB / 17.2 MB, free: 5.594 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.416/1.416, 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.2021/0.2021, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001501/0.001501, allocations: 67.88 kB / 382.8 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1029, allocations: 57.8 MB / 440.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.0035/0.1065, allocations: 1.905 MB / 442.5 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.1078, allocations: 0.8311 MB / 443.4 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.108, allocations: 0 / 443.4 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003758/0.1084, allocations: 47.7 kB / 443.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002365/0.1086, allocations: 67.62 kB / 443.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.1089, allocations: 99.73 kB / 443.6 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.1092, allocations: 131.6 kB / 443.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.1093, allocations: 33.42 kB / 443.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.1094, allocations: 59.7 kB / 443.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.733e-05/0.1095, allocations: 47.66 kB / 443.8 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.1096, allocations: 8 kB / 443.9 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.1097, allocations: 47.98 kB / 443.9 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.24e-05/0.1098, allocations: 27.91 kB / 443.9 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.419e-05/0.1098, allocations: 51.67 kB / 444 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.1101, allocations: 139.5 kB / 444.1 MB, free: 3.305 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1101, allocations: 0 / 444.1 MB, free: 3.305 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1101, allocations: 0 / 444.1 MB, free: 3.305 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1101, allocations: 4 kB / 444.1 MB, free: 3.301 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005976/0.1107, allocations: 480.4 kB / 444.6 MB, free: 2.777 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.1108, allocations: 15.89 kB / 444.6 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.053e-05/0.1108, allocations: 38.73 kB / 444.6 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.982e-05/0.1109, allocations: 16.75 kB / 444.7 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.1111, allocations: 220.1 kB / 444.9 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.1111, allocations: 12.31 kB / 444.9 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.1111, allocations: 11.84 kB / 444.9 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.1114, allocations: 112.2 kB / 445 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.1114, allocations: 0 / 445 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.1114, allocations: 4 kB / 445 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1114, allocations: 0 / 445 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.1116, allocations: 51.91 kB / 445.1 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004631/0.1121, allocations: 0.5009 MB / 445.6 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.1124, allocations: 98.64 kB / 445.7 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.326e-05/0.1125, allocations: 36.84 kB / 445.7 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.1125, allocations: 7.875 kB / 445.7 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002193/0.1127, allocations: 83.31 kB / 445.8 MB, free: 1.438 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.1127, allocations: 0 / 445.8 MB, free: 1.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003497/0.1131, allocations: 145.4 kB / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.1131, allocations: 59.39 kB / 446 MB, free: 1.219 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.1132, allocations: 191.4 kB / 446.2 MB, free: 1.023 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.1133, allocations: 25.7 kB / 446.2 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.82e-05/0.1133, allocations: 116 kB / 446.3 MB, free: 0.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.1133, allocations: 27.64 kB / 446.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.1134, allocations: 29.62 kB / 446.4 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.927e-05/0.1134, allocations: 326.8 kB / 446.7 MB, free: 496 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.203e-05/0.1135, allocations: 35.97 kB / 446.7 MB, free: 460 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.246e-05/0.1136, allocations: 63.91 kB / 446.8 MB, free: 384 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.1138, allocations: 104.2 kB / 446.9 MB, free: 264 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1138, allocations: 0 / 446.9 MB, free: 264 kB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002194/0.114, allocations: 133.8 kB / 447 MB, free: 124 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.114, allocations: 4.094 kB / 447 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1141, allocations: 7.938 kB / 447 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.1141, allocations: 4.062 kB / 447 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.907e-05/0.1142, allocations: 31.98 kB / 447.1 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1142, allocations: 0 / 447.1 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.092e-05/0.1143, allocations: 11.91 kB / 447.1 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1143, allocations: 4 kB / 447.1 MB, free: 60 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001321/0.1144, allocations: 137.7 kB / 447.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.1144, allocations: 11.81 kB / 447.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.607e-05/0.1145, allocations: 13.41 kB / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1145, allocations: 7.938 kB / 447.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.1145, allocations: 7.984 kB / 447.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.1145, allocations: 0 / 447.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.1147, allocations: 213.5 kB / 447.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1147, allocations: 0 / 447.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.958e-05/0.1148, allocations: 8 kB / 447.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.1148, allocations: 4 kB / 447.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.1148, allocations: 4 kB / 447.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.1148, allocations: 7.922 kB / 447.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.1148, allocations: 0 / 447.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.1152, allocations: 184.8 kB / 447.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/0.1153, allocations: 85.05 kB / 447.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.1153, allocations: 0 / 447.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.365e-05/0.1154, allocations: 11.92 kB / 447.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.1154, allocations: 15.92 kB / 447.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.1154, allocations: 4 kB / 447.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001192/0.1155, allocations: 141.2 kB / 447.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1156, allocations: 4.062 kB / 447.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002208/0.1158, allocations: 28.03 kB / 447.9 MB, free: 15.09 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001355/0.1171, allocations: 1.003 MB / 449 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002424/0.1174, allocations: 95.77 kB / 449 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1174, allocations: 0 / 449 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.146e-05/0.1175, allocations: 35.98 kB / 449.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.1178, allocations: 49.8 kB / 449.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.1196, allocations: 1.727 MB / 450.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.1198, allocations: 0.7239 MB / 451.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.8e-05/0.1199, allocations: 13.42 kB / 451.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.067e-05/0.12, allocations: 39.42 kB / 451.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.12, allocations: 0 / 451.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04745/0.1674, allocations: 3.693 MB / 455.3 MB, free: 7.613 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.194/8.361, allocations: 8 kB / 455.3 MB, free: 7.605 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches