Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",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.001446/0.001447, allocations: 104 kB / 16.27 MB, free: 6.043 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.001373/0.001373, allocations: 190.8 kB / 17.19 MB, free: 5.688 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.375/1.375, 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.2089/0.2089, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.001707/0.001707, allocations: 69.06 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09909/0.1008, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003055/0.1039, allocations: 1.901 MB / 442.5 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.1052, allocations: 0.835 MB / 443.4 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001965/0.1054, allocations: 7.938 kB / 443.4 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004009/0.1058, allocations: 47.69 kB / 443.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002547/0.1061, allocations: 55.7 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.1064, allocations: 103.7 kB / 443.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.1067, allocations: 135.6 kB / 443.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.1068, allocations: 33.42 kB / 443.7 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.1069, allocations: 55.7 kB / 443.8 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.406e-05/0.107, allocations: 47.72 kB / 443.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.107, allocations: 8 kB / 443.9 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.1072, allocations: 47.98 kB / 443.9 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.489e-05/0.1072, allocations: 27.91 kB / 443.9 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.471e-05/0.1073, allocations: 47.67 kB / 444 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.1075, allocations: 147.5 kB / 444.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1075, allocations: 0 / 444.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1075, allocations: 4 kB / 444.1 MB, free: 3.285 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1076, allocations: 0 / 444.1 MB, free: 3.285 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.0005591/0.1081, allocations: 476.5 kB / 444.6 MB, free: 2.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1082, allocations: 15.88 kB / 444.6 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.946e-05/0.1082, allocations: 38.75 kB / 444.6 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.1083, allocations: 16.75 kB / 444.7 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.1085, allocations: 224 kB / 444.9 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.1085, allocations: 4.375 kB / 444.9 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.1085, allocations: 19.84 kB / 444.9 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.1087, allocations: 107.8 kB / 445 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1087, allocations: 0 / 445 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.1088, allocations: 8 kB / 445 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.1088, allocations: 0 / 445 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.1089, allocations: 47.91 kB / 445.1 MB, free: 2.234 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004413/0.1094, allocations: 0.5087 MB / 445.6 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.1097, allocations: 94.64 kB / 445.7 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.416e-05/0.1098, allocations: 44.78 kB / 445.7 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.1098, allocations: 3.938 kB / 445.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/0.11, allocations: 83.3 kB / 445.8 MB, free: 1.422 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.783e-06/0.11, allocations: 0 / 445.8 MB, free: 1.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.00035/0.1104, allocations: 149.4 kB / 445.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/0.1104, allocations: 51.41 kB / 446 MB, free: 1.207 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.1105, allocations: 191.4 kB / 446.2 MB, free: 1.012 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.1106, allocations: 29.7 kB / 446.2 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.1106, allocations: 116 kB / 446.3 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.1106, allocations: 27.64 kB / 446.3 MB, free: 0.832 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.1107, allocations: 29.62 kB / 446.4 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.276e-05/0.1107, allocations: 326.8 kB / 446.7 MB, free: 480 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.073e-05/0.1108, allocations: 31.97 kB / 446.7 MB, free: 448 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.135e-05/0.1109, allocations: 68.16 kB / 446.8 MB, free: 368 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.1111, allocations: 104.1 kB / 446.9 MB, free: 248 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1111, allocations: 0 / 446.9 MB, free: 248 kB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002263/0.1113, allocations: 133.8 kB / 447 MB, free: 108 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1113, allocations: 4.094 kB / 447 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1113, allocations: 8.062 kB / 447 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1114, allocations: 7.938 kB / 447 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.1115, allocations: 23.98 kB / 447.1 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.1115, allocations: 3.938 kB / 447.1 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.591e-05/0.1116, allocations: 7.906 kB / 447.1 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.1116, allocations: 8 kB / 447.1 MB, free: 44 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.000131/0.1117, allocations: 129.8 kB / 447.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.1118, allocations: 11.81 kB / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.795e-05/0.1118, allocations: 21.39 kB / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1119, allocations: 11.94 kB / 447.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1119, allocations: 0 / 447.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1119, allocations: 0 / 447.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.1121, allocations: 213.5 kB / 447.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1121, allocations: 0 / 447.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.618e-05/0.1122, allocations: 8 kB / 447.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1122, allocations: 4 kB / 447.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.1122, allocations: 3.984 kB / 447.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1122, allocations: 7.875 kB / 447.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1122, allocations: 3.938 kB / 447.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/0.1126, allocations: 180.8 kB / 447.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/0.1127, allocations: 85.05 kB / 447.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.1127, allocations: 4 kB / 447.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.736e-05/0.1128, allocations: 15.92 kB / 447.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.1128, allocations: 7.984 kB / 447.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.1128, allocations: 4 kB / 447.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.113, allocations: 149.3 kB / 447.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.113, allocations: 0 / 447.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000245/0.1132, allocations: 28.03 kB / 448 MB, free: 15.07 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.001578/0.1148, allocations: 1.007 MB / 449 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002983/0.1151, allocations: 91.78 kB / 449 MB, free: 14.03 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1151, allocations: 0 / 449 MB, free: 14.03 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.1153, allocations: 43.91 kB / 449.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.1156, allocations: 41.89 kB / 449.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.1177, allocations: 1.723 MB / 450.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.1181, allocations: 0.72 MB / 451.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.101e-05/0.1182, 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 8.054e-05/0.1183, allocations: 43.42 kB / 451.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1183, allocations: 0 / 451.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.1412, allocations: 3.686 MB / 455.3 MB, free: 7.613 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.298/8.439, allocations: 15.94 kB / 455.3 MB, free: 7.598 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches