Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 109.1 kB / 17.03 MB, free: 5.66 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.001217/0.001217, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.475/1.475, allocations: 205.1 MB / 223.8 MB, free: 12.22 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.2061/0.2061, allocations: 43.52 MB / 314.7 MB, free: 472 kB / 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.002387/0.002387, allocations: 77.16 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1112, allocations: 57.78 MB / 442 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.00328/0.1145, allocations: 1.692 MB / 443.7 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.1165, allocations: 0.7961 MB / 444.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.1167, allocations: 4 kB / 444.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004186/0.1172, allocations: 47.75 kB / 444.5 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003465/0.1176, allocations: 55.77 kB / 444.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.1179, allocations: 87.69 kB / 444.7 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.1182, allocations: 95.7 kB / 444.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.1183, allocations: 16.2 kB / 444.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.1185, allocations: 43.78 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.49e-05/0.1186, allocations: 27.86 kB / 444.8 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.1186, allocations: 0 / 444.8 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.1188, allocations: 47.97 kB / 444.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.343e-05/0.1189, allocations: 19.92 kB / 444.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.225e-05/0.1189, allocations: 31.75 kB / 444.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.1191, allocations: 119.6 kB / 445 MB, free: 3.039 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1191, allocations: 4 kB / 445 MB, free: 3.035 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1191, allocations: 0 / 445 MB, free: 3.035 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.1192, allocations: 4 kB / 445.1 MB, free: 3.031 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.0004606/0.1196, allocations: 414.9 kB / 445.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1197, allocations: 15.89 kB / 445.5 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.965e-05/0.1197, allocations: 8.844 kB / 445.5 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.12, allocations: 212.7 kB / 445.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.12, allocations: 384 / 445.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.1201, allocations: 8.125 kB / 445.7 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.1202, allocations: 57.61 kB / 445.8 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1203, allocations: 7.984 kB / 445.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1203, allocations: 0 / 445.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1203, allocations: 0 / 445.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.802e-05/0.1204, allocations: 23.98 kB / 445.8 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.1207, allocations: 280.9 kB / 446.1 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.1208, allocations: 54.62 kB / 446.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.693e-05/0.1209, allocations: 28.84 kB / 446.1 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.1209, allocations: 4 kB / 446.1 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.1211, allocations: 59.39 kB / 446.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.1211, allocations: 3.938 kB / 446.2 MB, free: 1.711 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005476/0.1216, allocations: 177.1 kB / 446.4 MB, free: 1.531 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.1217, allocations: 51.41 kB / 446.4 MB, free: 1.469 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.1218, allocations: 203.3 kB / 446.6 MB, free: 1.262 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.1219, allocations: 29.7 kB / 446.7 MB, free: 1.227 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.1219, allocations: 104 kB / 446.8 MB, free: 1.121 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.1219, allocations: 23.73 kB / 446.8 MB, free: 1.098 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.122, allocations: 29.7 kB / 446.8 MB, free: 1.062 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.365e-05/0.122, allocations: 326.8 kB / 447.1 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.232e-05/0.1221, allocations: 23.98 kB / 447.2 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.556e-05/0.1222, allocations: 37.66 kB / 447.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.297e-05/0.1223, allocations: 58.08 kB / 447.2 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1223, allocations: 0 / 447.2 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001577/0.1224, allocations: 109.5 kB / 447.4 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1225, allocations: 5.25 kB / 447.4 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1225, allocations: 8 kB / 447.4 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.1225, allocations: 3.938 kB / 447.4 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.837e-05/0.1226, allocations: 16.03 kB / 447.4 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1226, allocations: 0 / 447.4 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.677e-05/0.1226, allocations: 11.92 kB / 447.4 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.1227, allocations: 4 kB / 447.4 MB, free: 456 kB / 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.228e-05/0.1227, allocations: 129.7 kB / 447.5 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.1228, allocations: 19.8 kB / 447.5 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.329e-05/0.1228, allocations: 13.41 kB / 447.6 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1228, allocations: 0 / 447.6 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1228, allocations: 0 / 447.6 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1228, allocations: 7.938 kB / 447.6 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004029/0.1233, allocations: 391.3 kB / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1233, allocations: 0 / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.593e-05/0.1233, allocations: 11.98 kB / 448 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.1233, allocations: 0 / 448 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.1233, allocations: 7.938 kB / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1233, allocations: 0 / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1233, allocations: 0 / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.1236, allocations: 204.3 kB / 448.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.462e-05/0.1236, allocations: 96.84 kB / 448.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.1237, allocations: 8.125 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.98e-05/0.1237, allocations: 4 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.1238, allocations: 11.92 kB / 448.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.1238, allocations: 7.984 kB / 448.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.1239, allocations: 156.9 kB / 448.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1239, allocations: 0 / 448.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.1242, allocations: 24 kB / 448.5 MB, free: 15.27 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.001012/0.1252, allocations: 459.8 kB / 448.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001798/0.1254, allocations: 67.89 kB / 449 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1254, allocations: 0 / 449 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.912e-05/0.1255, allocations: 23.98 kB / 449 MB, free: 14.81 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.1259, allocations: 32.3 kB / 449 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004423/0.1263, allocations: 235.4 kB / 449.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.1266, allocations: 0.708 MB / 450 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.795e-05/0.1266, allocations: 12.88 kB / 450 MB, free: 13.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.1267, allocations: 15.44 kB / 450 MB, free: 13.76 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1267, allocations: 0 / 450 MB, free: 13.76 MB / 334.1 MB Notification: Performance of Templates: time 0.004524/0.1312, allocations: 1.701 MB / 451.7 MB, free: 12.07 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches