Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_0_0_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.0008664/0.0008665, allocations: 94.88 kB / 17.35 MB, free: 6.375 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.001011/0.001011, allocations: 180.2 kB / 18.26 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 223.3 MB / 242.3 MB, free: 236 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1993/0.1993, allocations: 44.25 MB / 337.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002835/0.0002835, allocations: 9.094 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1062, allocations: 61.92 MB / 472.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002052/0.1083, allocations: 1.625 MB / 474 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.1096, allocations: 0.8771 MB / 474.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.741e-05/0.1098, allocations: 0 / 474.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.1101, allocations: 43.77 kB / 474.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.1103, allocations: 43.83 kB / 475 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.1106, allocations: 115 kB / 475.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.1108, allocations: 127.6 kB / 475.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1109, allocations: 33.48 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.717e-05/0.111, allocations: 55.64 kB / 475.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.953e-05/0.1111, allocations: 39.73 kB / 475.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.1111, allocations: 4 kB / 475.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.439e-05/0.1112, allocations: 31.98 kB / 475.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.385e-05/0.1113, allocations: 31.91 kB / 475.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.297e-05/0.1113, allocations: 73.38 kB / 475.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.1116, allocations: 143.7 kB / 475.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1116, allocations: 0 / 475.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.095e-06/0.1116, allocations: 0 / 475.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1116, allocations: 3.938 kB / 475.6 MB, free: 10.02 MB / 350.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.0005634/0.1122, allocations: 456.6 kB / 476 MB, free: 9.523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.1122, allocations: 8.031 kB / 476 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.676e-05/0.1123, allocations: 46.75 kB / 476.1 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.1123, allocations: 16.73 kB / 476.1 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.1125, allocations: 231.9 kB / 476.3 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1126, allocations: 4.375 kB / 476.3 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.1126, allocations: 11.94 kB / 476.4 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.1128, allocations: 106.9 kB / 476.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1128, allocations: 4 kB / 476.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.1128, allocations: 4 kB / 476.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.1129, allocations: 0 / 476.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.113, allocations: 55.91 kB / 476.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005176/0.1135, allocations: 0.5126 MB / 477 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.1138, allocations: 82.66 kB / 477.1 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.114, allocations: 48.83 kB / 477.2 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.114, allocations: 3.984 kB / 477.2 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/0.1142, allocations: 87.31 kB / 477.3 MB, free: 8.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.1142, allocations: 0 / 477.3 MB, free: 8.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.000373/0.1146, allocations: 157.3 kB / 477.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.1146, allocations: 51.41 kB / 477.5 MB, free: 7.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.1148, allocations: 191.4 kB / 477.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.1148, allocations: 25.7 kB / 477.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.763e-05/0.1149, allocations: 116 kB / 477.8 MB, free: 7.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.1149, allocations: 27.61 kB / 477.8 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/0.115, allocations: 17.72 kB / 477.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1151, allocations: 330.8 kB / 478.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.009e-05/0.1152, allocations: 31.97 kB / 478.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.737e-05/0.1153, allocations: 60.28 kB / 478.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.1155, allocations: 112.5 kB / 478.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1155, allocations: 0 / 478.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002657/0.1158, allocations: 137.5 kB / 478.5 MB, free: 6.844 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1158, allocations: 8 kB / 478.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1158, allocations: 0 / 478.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1158, allocations: 3.938 kB / 478.5 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.809e-05/0.1159, allocations: 27.98 kB / 478.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1159, allocations: 4 kB / 478.5 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.724e-05/0.116, allocations: 11.84 kB / 478.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.116, allocations: 4 kB / 478.5 MB, free: 6.785 MB / 350.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 9.679e-05/0.1161, allocations: 137.8 kB / 478.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/0.1161, allocations: 11.81 kB / 478.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.238e-05/0.1162, allocations: 21.39 kB / 478.7 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.1162, allocations: 7.938 kB / 478.7 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1162, allocations: 0 / 478.7 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1162, allocations: 0 / 478.7 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.1164, allocations: 205.6 kB / 478.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1164, allocations: 0 / 478.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.541e-05/0.1165, allocations: 16 kB / 478.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1165, allocations: 4 kB / 478.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.1165, allocations: 3.984 kB / 478.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.1165, allocations: 3.938 kB / 478.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.1165, allocations: 4 kB / 478.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/0.1169, allocations: 196.8 kB / 479.1 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.889e-05/0.1169, allocations: 100.9 kB / 479.2 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.117, allocations: 4 kB / 479.2 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.665e-05/0.117, allocations: 11.94 kB / 479.3 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.1171, allocations: 3.984 kB / 479.3 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.1171, allocations: 7.938 kB / 479.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.1172, allocations: 145.2 kB / 479.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1172, allocations: 0 / 479.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002215/0.1174, allocations: 24 kB / 479.4 MB, free: 5.801 MB / 350.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.00131/0.1188, allocations: 1.015 MB / 480.4 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.119, allocations: 87.84 kB / 480.5 MB, free: 4.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.119, allocations: 0 / 480.5 MB, free: 4.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.351e-05/0.1191, allocations: 39.97 kB / 480.6 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.1194, allocations: 42.14 kB / 480.6 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.1212, allocations: 1.784 MB / 482.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.1214, allocations: 0.7122 MB / 483.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.629e-05/0.1215, allocations: 21.41 kB / 483.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.733e-05/0.1215, allocations: 39.8 kB / 483.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1215, allocations: 4 kB / 483.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01219/0.1337, allocations: 3.299 MB / 486.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/0.1339, allocations: 230.3 kB / 486.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/1.881, allocations: 0 / 486.7 MB, free: 14.64 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches